Balakin.VSOutputEnhancer.Classifiers.ClassifierFactory.GetClassifierForContentType C# (CSharp) Method

GetClassifierForContentType() public method

public GetClassifierForContentType ( IContentType contentType ) : IClassifier
contentType IContentType
return IClassifier
        public IClassifier GetClassifierForContentType(IContentType contentType)
        {
            var key = GetClassifierKey(contentType);
            var classifier = classifiers.GetOrAdd(key, k => CreateClassifierForContentType(contentType));
            return classifier;
        }