CSharpSymbol Constructor (SourceLocation, 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 ( _
start As SourceLocation, _
content As String, _
type As CSharpSymbolType, _
errors As IEnumerable(Of RazorError) _
)
'Usage
Dim start As SourceLocation
Dim content As String
Dim type As CSharpSymbolType
Dim errors As IEnumerable(Of RazorError)
Dim instance As New CSharpSymbol(start, content, _
type, errors)
public CSharpSymbol(
SourceLocation start,
string content,
CSharpSymbolType type,
IEnumerable<RazorError> errors
)
public:
CSharpSymbol(
SourceLocation start,
String^ content,
CSharpSymbolType type,
IEnumerable<RazorError^>^ errors
)
new :
start:SourceLocation *
content:string *
type:CSharpSymbolType *
errors:IEnumerable<RazorError> -> CSharpSymbol
public function CSharpSymbol(
start : SourceLocation,
content : String,
type : CSharpSymbolType,
errors : IEnumerable<RazorError>
)
Parameters
- start
Type: System.Web.Razor.Text.SourceLocation
The location to start the symbol.
- 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.