HelperResult(Action<TextWriter>) 构造函数

定义

创建 HelperResult 的新实例。

public:
 HelperResult(Action<System::IO::TextWriter ^> ^ action);
public HelperResult (Action<System.IO.TextWriter> action);
new Microsoft.AspNetCore.DiagnosticsViewPage.Views.HelperResult : Action<System.IO.TextWriter> -> Microsoft.AspNetCore.DiagnosticsViewPage.Views.HelperResult
Public Sub New (action As Action(Of TextWriter))

参数

action
Action<TextWriter>

调用 时 WriteTo(TextWriter) 要调用的委托。

适用于