-
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathCakeContentTypeDefinition.cs
More file actions
26 lines (23 loc) · 1.07 KB
/
CakeContentTypeDefinition.cs
File metadata and controls
26 lines (23 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.ComponentModel.Composition;
using Cake.VisualStudio.Helpers;
using Microsoft.VisualStudio.LanguageServer.Client;
using Microsoft.VisualStudio.Utilities;
namespace Cake.VisualStudio.ContentType
{
public sealed class CakeContentTypeDefinition
{
[Export(typeof(ContentTypeDefinition))]
[Name(Constants.CakeContentType)]
[BaseDefinition(Constants.BaseContentType)]
[BaseDefinition(Constants.RoslynContentType)]
[BaseDefinition(CodeRemoteContentDefinition.CodeRemoteContentTypeName)]
public ContentTypeDefinition ICakeContentTypeDefinitionContentType { get; set; }
[Export(typeof(FileExtensionToContentTypeDefinition))]
[ContentType(Constants.CakeContentType)]
[FileExtension(Constants.CakeExtension)]
public FileExtensionToContentTypeDefinition CakeFileExtensionDefinition { get; set; }
}
}