CSharpSymbol 构造函数

定义

重载

CSharpSymbol(SourceLocation, String, CSharpSymbolType)
CSharpSymbol(SourceLocation, String, CSharpSymbolType, IReadOnlyList<RazorError>)
CSharpSymbol(Int32, Int32, Int32, String, CSharpSymbolType)
CSharpSymbol(Int32, Int32, Int32, String, CSharpSymbolType, IReadOnlyList<RazorError>)

CSharpSymbol(SourceLocation, String, CSharpSymbolType)

public:
 CSharpSymbol(Microsoft::AspNetCore::Razor::SourceLocation start, System::String ^ content, Microsoft::AspNetCore::Razor::Tokenizer::Symbols::CSharpSymbolType type);
public CSharpSymbol (Microsoft.AspNetCore.Razor.SourceLocation start, string content, Microsoft.AspNetCore.Razor.Tokenizer.Symbols.CSharpSymbolType type);
new Microsoft.AspNetCore.Razor.Tokenizer.Symbols.CSharpSymbol : Microsoft.AspNetCore.Razor.SourceLocation * string * Microsoft.AspNetCore.Razor.Tokenizer.Symbols.CSharpSymbolType -> Microsoft.AspNetCore.Razor.Tokenizer.Symbols.CSharpSymbol
Public Sub New (start As SourceLocation, content As String, type As CSharpSymbolType)

参数

content
String

适用于

CSharpSymbol(SourceLocation, String, CSharpSymbolType, IReadOnlyList<RazorError>)

public:
 CSharpSymbol(Microsoft::AspNetCore::Razor::SourceLocation start, System::String ^ content, Microsoft::AspNetCore::Razor::Tokenizer::Symbols::CSharpSymbolType type, System::Collections::Generic::IReadOnlyList<Microsoft::AspNetCore::Razor::RazorError ^> ^ errors);
public CSharpSymbol (Microsoft.AspNetCore.Razor.SourceLocation start, string content, Microsoft.AspNetCore.Razor.Tokenizer.Symbols.CSharpSymbolType type, System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Razor.RazorError> errors);
new Microsoft.AspNetCore.Razor.Tokenizer.Symbols.CSharpSymbol : Microsoft.AspNetCore.Razor.SourceLocation * string * Microsoft.AspNetCore.Razor.Tokenizer.Symbols.CSharpSymbolType * System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Razor.RazorError> -> Microsoft.AspNetCore.Razor.Tokenizer.Symbols.CSharpSymbol
Public Sub New (start As SourceLocation, content As String, type As CSharpSymbolType, errors As IReadOnlyList(Of RazorError))

参数

content
String

适用于

CSharpSymbol(Int32, Int32, Int32, String, CSharpSymbolType)

public:
 CSharpSymbol(int offset, int line, int column, System::String ^ content, Microsoft::AspNetCore::Razor::Tokenizer::Symbols::CSharpSymbolType type);
public CSharpSymbol (int offset, int line, int column, string content, Microsoft.AspNetCore.Razor.Tokenizer.Symbols.CSharpSymbolType type);
new Microsoft.AspNetCore.Razor.Tokenizer.Symbols.CSharpSymbol : int * int * int * string * Microsoft.AspNetCore.Razor.Tokenizer.Symbols.CSharpSymbolType -> Microsoft.AspNetCore.Razor.Tokenizer.Symbols.CSharpSymbol
Public Sub New (offset As Integer, line As Integer, column As Integer, content As String, type As CSharpSymbolType)

参数

offset
Int32
line
Int32
column
Int32
content
String

适用于

CSharpSymbol(Int32, Int32, Int32, String, CSharpSymbolType, IReadOnlyList<RazorError>)

public:
 CSharpSymbol(int offset, int line, int column, System::String ^ content, Microsoft::AspNetCore::Razor::Tokenizer::Symbols::CSharpSymbolType type, System::Collections::Generic::IReadOnlyList<Microsoft::AspNetCore::Razor::RazorError ^> ^ errors);
public CSharpSymbol (int offset, int line, int column, string content, Microsoft.AspNetCore.Razor.Tokenizer.Symbols.CSharpSymbolType type, System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Razor.RazorError> errors);
new Microsoft.AspNetCore.Razor.Tokenizer.Symbols.CSharpSymbol : int * int * int * string * Microsoft.AspNetCore.Razor.Tokenizer.Symbols.CSharpSymbolType * System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Razor.RazorError> -> Microsoft.AspNetCore.Razor.Tokenizer.Symbols.CSharpSymbol
Public Sub New (offset As Integer, line As Integer, column As Integer, content As String, type As CSharpSymbolType, errors As IReadOnlyList(Of RazorError))

参数

offset
Int32
line
Int32
column
Int32
content
String

适用于