C# Class Microsoft.DocAsCode.Dfm.RecursiveNameCodeSnippetExtractor

Recursive name extrator works for snippet name only exists in start line representation E.g., C# region representation only has snippet name in start line representation
Inheritance: CodeSnippetRegexExtractor
Datei anzeigen Open project: dotnet/docfx

Public Methods

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

Protected Methods

Method Description
ResolveCodeSnippetTags ( string lines ) : List

Method Details

RecursiveNameCodeSnippetExtractor() public method

public RecursiveNameCodeSnippetExtractor ( 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