CSharpTokenizer.CreateSymbol Method
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Creates a CSharp tokenizer symbol.
Assembly: System.Web.Razor (in System.Web.Razor.dll)
'Declaration Protected Overrides Function CreateSymbol ( _ start As SourceLocation, _ content As String, _ type As CSharpSymbolType, _ errors As IEnumerable(Of RazorError) _ ) As CSharpSymbol 'Usage Dim start As SourceLocation Dim content As String Dim type As CSharpSymbolType Dim errors As IEnumerable(Of RazorError) Dim returnValue As CSharpSymbol returnValue = Me.CreateSymbol(start, _ content, type, errors)
Parameters
- start
- Type: System.Web.Razor.Text.SourceLocation
The beginning of the source location.
- content
- Type: System.String
The contents.
- type
- Type: System.Web.Razor.Tokenizer.Symbols.CSharpSymbolType
The CSharp symbol type.
- errors
- Type: System.Collections.Generic.IEnumerable(Of RazorError)
A collection of razor errors.
Show: