ParserContext(ITextDocument, ParserBase, ParserBase, ParserBase) Constructor
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. Initializes a new instance of the ParserContext class.
public ParserContext(System.Web.Razor.Text.ITextDocument source, System.Web.Razor.Parser.ParserBase codeParser, System.Web.Razor.Parser.ParserBase markupParser, System.Web.Razor.Parser.ParserBase activeParser);
new System.Web.Razor.Parser.ParserContext : System.Web.Razor.Text.ITextDocument * System.Web.Razor.Parser.ParserBase * System.Web.Razor.Parser.ParserBase * System.Web.Razor.Parser.ParserBase -> System.Web.Razor.Parser.ParserContext
Public Sub New (source As ITextDocument, codeParser As ParserBase, markupParser As ParserBase, activeParser As ParserBase)
Parameters
- source
- ITextDocument
The source document.
- codeParser
- ParserBase
The code parser for the context.
- markupParser
- ParserBase
The markup parser for the context.
- activeParser
- ParserBase
The active parser for the context.