SymbolExtensions.GetContent Method (IEnumerable<ISymbol>, SourceLocation)
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Gets the content of this SymbolExtensions class.
Namespace: System.Web.Razor.Tokenizer.Symbols
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function GetContent ( _
symbols As IEnumerable(Of ISymbol), _
spanStart As SourceLocation _
) As LocationTagged(Of String)
'Usage
Dim symbols As IEnumerable(Of ISymbol)
Dim spanStart As SourceLocation
Dim returnValue As LocationTagged(Of String)
returnValue = symbols.GetContent(spanStart)
public static LocationTagged<string> GetContent(
this IEnumerable<ISymbol> symbols,
SourceLocation spanStart
)
[ExtensionAttribute]
public:
static LocationTagged<String^>^ GetContent(
IEnumerable<ISymbol^>^ symbols,
SourceLocation spanStart
)
static member GetContent :
symbols:IEnumerable<ISymbol> *
spanStart:SourceLocation -> LocationTagged<string>
public static function GetContent(
symbols : IEnumerable<ISymbol>,
spanStart : SourceLocation
) : LocationTagged<String>
Parameters
- symbols
Type: System.Collections.Generic.IEnumerable<ISymbol>
The symbols to provide.
- spanStart
Type: System.Web.Razor.Text.SourceLocation
The starting index of the span.
Return Value
Type: System.Web.Razor.Text.LocationTagged<String>
The content of this SymbolExtensions class.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable<ISymbol>. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.111) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.111).