C# Class Microsoft.DocAsCode.Dfm.FlatNameCodeSnippetExtractor

Flat name extrator works for snippet name exists in both start and end line representations E.g., comment representation needs snippet name exists in both start and end line comment
Inheritance: CodeSnippetRegexExtractor
Datei anzeigen Open project: dotnet/docfx

Public Methods

Method Description
FlatNameCodeSnippetExtractor ( Regex startLineRegex, Regex endLineRegex ) : System

Protected Methods

Method Description
ResolveCodeSnippetTags ( string lines ) : List

Method Details

FlatNameCodeSnippetExtractor() public method

public FlatNameCodeSnippetExtractor ( Regex startLineRegex, Regex endLineRegex ) : System
startLineRegex System.Text.RegularExpressions.Regex
endLineRegex System.Text.RegularExpressions.Regex
return System

ResolveCodeSnippetTags() protected method

protected ResolveCodeSnippetTags ( string lines ) : List
lines string
return List