Balakin.VSOutputEnhancer.ParsersConfigurationService.GetParsers C# (CSharp) Method

GetParsers() public method

public GetParsers ( IContentType contentType ) : IEnumerable
contentType IContentType
return IEnumerable
        public IEnumerable<ParserConfiguration> GetParsers(IContentType contentType)
        {
            foreach (var entry in Configuration) {
                if (entry.ContentType.Equals(contentType.TypeName, StringComparison.OrdinalIgnoreCase)) {
                    yield return entry.Configuration;
                }
            }
        }