RazorTemplateEngine.ParseTemplateCore Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Parses the template core.
protected internal virtual System.Web.Razor.ParserResults ParseTemplateCore (System.Web.Razor.Text.ITextDocument input, System.Threading.CancellationToken? cancelToken);
abstract member ParseTemplateCore : System.Web.Razor.Text.ITextDocument * Nullable<System.Threading.CancellationToken> -> System.Web.Razor.ParserResults
override this.ParseTemplateCore : System.Web.Razor.Text.ITextDocument * Nullable<System.Threading.CancellationToken> -> System.Web.Razor.ParserResults
Protected Friend Overridable Function ParseTemplateCore (input As ITextDocument, cancelToken As Nullable(Of CancellationToken)) As ParserResults
Parameters
- input
- ITextDocument
The input text to parse.
- cancelToken
- Nullable<CancellationToken>
A token used to cancel the parser.
Returns
The resulting parse tree.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for