共用方式為


ParserContext 建構函式

定義

public:
 ParserContext(Microsoft::AspNetCore::Razor::Text::ITextDocument ^ source, Microsoft::AspNetCore::Razor::Parser::ParserBase ^ codeParser, Microsoft::AspNetCore::Razor::Parser::ParserBase ^ markupParser, Microsoft::AspNetCore::Razor::Parser::ParserBase ^ activeParser, Microsoft::AspNetCore::Razor::ErrorSink ^ errorSink);
public ParserContext (Microsoft.AspNetCore.Razor.Text.ITextDocument source, Microsoft.AspNetCore.Razor.Parser.ParserBase codeParser, Microsoft.AspNetCore.Razor.Parser.ParserBase markupParser, Microsoft.AspNetCore.Razor.Parser.ParserBase activeParser, Microsoft.AspNetCore.Razor.ErrorSink errorSink);
new Microsoft.AspNetCore.Razor.Parser.ParserContext : Microsoft.AspNetCore.Razor.Text.ITextDocument * Microsoft.AspNetCore.Razor.Parser.ParserBase * Microsoft.AspNetCore.Razor.Parser.ParserBase * Microsoft.AspNetCore.Razor.Parser.ParserBase * Microsoft.AspNetCore.Razor.ErrorSink -> Microsoft.AspNetCore.Razor.Parser.ParserContext
Public Sub New (source As ITextDocument, codeParser As ParserBase, markupParser As ParserBase, activeParser As ParserBase, errorSink As ErrorSink)

參數

source
ITextDocument
codeParser
ParserBase
markupParser
ParserBase
activeParser
ParserBase
errorSink
ErrorSink

適用於