Share via


LanguageCharacteristics<TTokenizer,TSymbol,TSymbolType>.CreateTokenizer Method

Definition

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Creates a Razor code language tokenizer for the specified source document.

public abstract TTokenizer CreateTokenizer (System.Web.Razor.Text.ITextDocument source);
abstract member CreateTokenizer : System.Web.Razor.Text.ITextDocument -> 'okenizer
Public MustOverride Function CreateTokenizer (source As ITextDocument) As TTokenizer

Parameters

source
ITextDocument

The source document.

Returns

TTokenizer

A Razor code language tokenizer for the specified source document.

Applies to