HelperResult Class¶
Represents a deferred write operation in a Microsoft.AspNetCore.DiagnosticsViewPage.Views.BaseView
.
- Namespace
Microsoft.AspNetCore.DiagnosticsViewPage.Views
- Assemblies
- Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore
Constructors¶
-
HelperResult
(System.Action<System.IO.TextWriter>)¶ Creates a new instance of
Microsoft.AspNetCore.DiagnosticsViewPage.Views.HelperResult
.Arguments: action (System.Action<System.IO.TextWriter>) – The delegate to invoke when Microsoft.AspNetCore.DiagnosticsViewPage.Views.HelperResult.WriteTo(System.IO.TextWriter)
is called.public HelperResult(Action<TextWriter> action)
-
Properties¶
-
Microsoft.AspNetCore.DiagnosticsViewPage.Views.HelperResult.
WriteAction
¶ Return type: System.Action<System.IO.TextWriter> public Action<TextWriter> WriteAction { get; }
-
Methods¶
-
WriteTo
(System.IO.TextWriter)¶ Method invoked to produce content from the
Microsoft.AspNetCore.DiagnosticsViewPage.Views.HelperResult
.Arguments: writer (System.IO.TextWriter) – The System.IO.TextWriter
instance to write to.public void WriteTo(TextWriter writer)
-