CSharpSymbol 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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)
参数
- start
- SourceLocation
- content
- String
- type
- CSharpSymbolType
适用于
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))
参数
- start
- SourceLocation
- content
- String
- type
- CSharpSymbolType
- errors
- IReadOnlyList<RazorError>
适用于
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
- type
- CSharpSymbolType
适用于
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
- type
- CSharpSymbolType
- errors
- IReadOnlyList<RazorError>