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

適用於