C# Class Microsoft.SourceBrowser.HtmlGenerator.Classification

显示文件 Open project: KirillOsenkov/SourceBrowser Class Usage Examples

Public Methods

Method Description
Classify ( Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Text.SourceText text ) : Task>
FilterClassificationType ( string classificationType ) : string

Private Methods

Method Description
CreateRange ( Microsoft.CodeAnalysis.Text.SourceText text, TextSpan span, string classification ) : Range
FillGaps ( Microsoft.CodeAnalysis.Text.SourceText text, IEnumerable spans ) : IEnumerable
FilterByClassification ( IEnumerable spans ) : IEnumerable
IsMergeable ( Range span ) : bool
Merge ( Microsoft.CodeAnalysis.Text.SourceText text, IEnumerable spans ) : IEnumerable

Method Details

Classify() public method

public Classify ( Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Text.SourceText text ) : Task>
document Microsoft.CodeAnalysis.Document
text Microsoft.CodeAnalysis.Text.SourceText
return Task>

FilterClassificationType() public method

public FilterClassificationType ( string classificationType ) : string
classificationType string
return string