diff --git a/Nodejs/Product/Nodejs/ClassifierProviderMetadata.cs b/Nodejs/Product/Nodejs/ClassifierProviderMetadata.cs index 679e1471e..b880369e7 100644 --- a/Nodejs/Product/Nodejs/ClassifierProviderMetadata.cs +++ b/Nodejs/Product/Nodejs/ClassifierProviderMetadata.cs @@ -22,11 +22,7 @@ namespace Microsoft.NodejsTools { /// Just used for our MEF import to get the metadata in a strongly /// typed way. /// - sealed class ClassifierProviderMetadata { - public readonly IEnumerable ContentTypes; - - public ClassifierProviderMetadata(IDictionary values) { - ContentTypes = (IEnumerable)values["ContentTypes"]; - } + public interface IClassifierProviderMetadata { + IEnumerable ContentTypes { get; } } } diff --git a/Nodejs/Product/Nodejs/Jade/Classifier/JadeClassifierProvider.cs b/Nodejs/Product/Nodejs/Jade/Classifier/JadeClassifierProvider.cs index 3038d504f..fe2dae6a5 100644 --- a/Nodejs/Product/Nodejs/Jade/Classifier/JadeClassifierProvider.cs +++ b/Nodejs/Product/Nodejs/Jade/Classifier/JadeClassifierProvider.cs @@ -38,7 +38,7 @@ public JadeClassifierProvider(IClassificationTypeRegistryService registryService ITextBufferFactoryService bufferFact, IContentTypeRegistryService contentTypeService, [ImportMany(typeof(ITaggerProvider))]Lazy[] taggerProviders, - [ImportMany(typeof(IClassifierProvider))]Lazy[] classifierProviders) { + [ImportMany(typeof(IClassifierProvider))]Lazy[] classifierProviders) { ClassificationRegistryService = registryService; BufferFactoryService = bufferFact; JsContentType = contentTypeService.GetContentType(NodejsConstants.JavaScript);