SymbolExtensions.GetContent 方法

定义

重载

GetContent(SpanBuilder)
GetContent(ISymbol)
GetContent(SpanBuilder, Func<IEnumerable<ISymbol>,IEnumerable<ISymbol>>)
GetContent(IEnumerable<ISymbol>, SourceLocation)

GetContent(SpanBuilder)

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Razor::Text::LocationTagged<System::String ^> ^ GetContent(Microsoft::AspNetCore::Razor::Parser::SyntaxTree::SpanBuilder ^ span);
public static Microsoft.AspNetCore.Razor.Text.LocationTagged<string> GetContent (this Microsoft.AspNetCore.Razor.Parser.SyntaxTree.SpanBuilder span);
static member GetContent : Microsoft.AspNetCore.Razor.Parser.SyntaxTree.SpanBuilder -> Microsoft.AspNetCore.Razor.Text.LocationTagged<string>
<Extension()>
Public Function GetContent (span As SpanBuilder) As LocationTagged(Of String)

参数

返回

适用于

GetContent(ISymbol)

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Razor::Text::LocationTagged<System::String ^> ^ GetContent(Microsoft::AspNetCore::Razor::Tokenizer::Symbols::ISymbol ^ symbol);
public static Microsoft.AspNetCore.Razor.Text.LocationTagged<string> GetContent (this Microsoft.AspNetCore.Razor.Tokenizer.Symbols.ISymbol symbol);
static member GetContent : Microsoft.AspNetCore.Razor.Tokenizer.Symbols.ISymbol -> Microsoft.AspNetCore.Razor.Text.LocationTagged<string>
<Extension()>
Public Function GetContent (symbol As ISymbol) As LocationTagged(Of String)

参数

symbol
ISymbol

返回

适用于

GetContent(SpanBuilder, Func<IEnumerable<ISymbol>,IEnumerable<ISymbol>>)

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Razor::Text::LocationTagged<System::String ^> ^ GetContent(Microsoft::AspNetCore::Razor::Parser::SyntaxTree::SpanBuilder ^ span, Func<System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Razor::Tokenizer::Symbols::ISymbol ^> ^, System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Razor::Tokenizer::Symbols::ISymbol ^> ^> ^ filter);
public static Microsoft.AspNetCore.Razor.Text.LocationTagged<string> GetContent (this Microsoft.AspNetCore.Razor.Parser.SyntaxTree.SpanBuilder span, Func<System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Razor.Tokenizer.Symbols.ISymbol>,System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Razor.Tokenizer.Symbols.ISymbol>> filter);
static member GetContent : Microsoft.AspNetCore.Razor.Parser.SyntaxTree.SpanBuilder * Func<seq<Microsoft.AspNetCore.Razor.Tokenizer.Symbols.ISymbol>, seq<Microsoft.AspNetCore.Razor.Tokenizer.Symbols.ISymbol>> -> Microsoft.AspNetCore.Razor.Text.LocationTagged<string>
<Extension()>
Public Function GetContent (span As SpanBuilder, filter As Func(Of IEnumerable(Of ISymbol), IEnumerable(Of ISymbol))) As LocationTagged(Of String)

参数

返回

适用于

GetContent(IEnumerable<ISymbol>, SourceLocation)

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Razor::Text::LocationTagged<System::String ^> ^ GetContent(System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Razor::Tokenizer::Symbols::ISymbol ^> ^ symbols, Microsoft::AspNetCore::Razor::SourceLocation spanStart);
public static Microsoft.AspNetCore.Razor.Text.LocationTagged<string> GetContent (this System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Razor.Tokenizer.Symbols.ISymbol> symbols, Microsoft.AspNetCore.Razor.SourceLocation spanStart);
static member GetContent : seq<Microsoft.AspNetCore.Razor.Tokenizer.Symbols.ISymbol> * Microsoft.AspNetCore.Razor.SourceLocation -> Microsoft.AspNetCore.Razor.Text.LocationTagged<string>
<Extension()>
Public Function GetContent (symbols As IEnumerable(Of ISymbol), spanStart As SourceLocation) As LocationTagged(Of String)

参数

symbols
IEnumerable<ISymbol>
spanStart
SourceLocation

返回

适用于