CSharpSymbol Constructor (Int32, Int32, Int32, String, CSharpSymbolType, IEnumerable<RazorError>)
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Initializes a new instance of the CSharpSymbol class.
Namespace: System.Web.Razor.Tokenizer.Symbols
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Public Sub New ( _
offset As Integer, _
line As Integer, _
column As Integer, _
content As String, _
type As CSharpSymbolType, _
errors As IEnumerable(Of RazorError) _
)
'Usage
Dim offset As Integer
Dim line As Integer
Dim column As Integer
Dim content As String
Dim type As CSharpSymbolType
Dim errors As IEnumerable(Of RazorError)
Dim instance As New CSharpSymbol(offset, _
line, column, content, type, errors)
public CSharpSymbol(
int offset,
int line,
int column,
string content,
CSharpSymbolType type,
IEnumerable<RazorError> errors
)
public:
CSharpSymbol(
int offset,
int line,
int column,
String^ content,
CSharpSymbolType type,
IEnumerable<RazorError^>^ errors
)
new :
offset:int *
line:int *
column:int *
content:string *
type:CSharpSymbolType *
errors:IEnumerable<RazorError> -> CSharpSymbol
public function CSharpSymbol(
offset : int,
line : int,
column : int,
content : String,
type : CSharpSymbolType,
errors : IEnumerable<RazorError>
)
Parameters
- offset
Type: System.Int32
The symbol’s offset.
- line
Type: System.Int32
The line.
- column
Type: System.Int32
The column
- content
Type: System.String
The content of the symbol.
- type
Type: System.Web.Razor.Tokenizer.Symbols.CSharpSymbolType
The type of the symbol.
- errors
Type: System.Collections.Generic.IEnumerable<RazorError>
A list of errors.