RewritingContext(Block, ErrorSink) 构造函数

定义

实例化一个新的 RewritingContext

public:
 RewritingContext(Microsoft::AspNetCore::Razor::Parser::SyntaxTree::Block ^ syntaxTree, Microsoft::AspNetCore::Razor::ErrorSink ^ errorSink);
public RewritingContext (Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Block syntaxTree, Microsoft.AspNetCore.Razor.ErrorSink errorSink);
new Microsoft.AspNetCore.Razor.Parser.RewritingContext : Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Block * Microsoft.AspNetCore.Razor.ErrorSink -> Microsoft.AspNetCore.Razor.Parser.RewritingContext
Public Sub New (syntaxTree As Block, errorSink As ErrorSink)

参数

syntaxTree
Block
errorSink
ErrorSink

适用于