ViewResultExecutor 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
查找并执行 IView 的 ViewResult。
public ref class ViewResultExecutor : Microsoft::AspNetCore::Mvc::ViewFeatures::ViewExecutor, Microsoft::AspNetCore::Mvc::Infrastructure::IActionResultExecutor<Microsoft::AspNetCore::Mvc::ViewResult ^>
public class ViewResultExecutor : Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor<Microsoft.AspNetCore.Mvc.ViewResult>
type ViewResultExecutor = class
inherit ViewExecutor
interface IActionResultExecutor<ViewResult>
Public Class ViewResultExecutor
Inherits ViewExecutor
Implements IActionResultExecutor(Of ViewResult)
- 继承
- 实现
构造函数
属性
| DiagnosticListener | (继承自 ViewExecutor) |
| DiagnosticSource |
获取 DiagnosticSource。 (继承自 ViewExecutor) |
| Logger |
获取 ILogger。 |
| ModelMetadataProvider | (继承自 ViewExecutor) |
| TempDataFactory |
获取 ITempDataDictionaryFactory。 (继承自 ViewExecutor) |
| ViewEngine |
获取默认的 IViewEngine。 (继承自 ViewExecutor) |
| ViewOptions |
获取 MvcViewOptions。 (继承自 ViewExecutor) |
| WriterFactory |
获取 IHttpResponseStreamWriterFactory。 (继承自 ViewExecutor) |
方法
| ExecuteAsync(ActionContext, IView, ViewDataDictionary, ITempDataDictionary, String, Nullable<Int32>) |
异步执行视图。 (继承自 ViewExecutor) |
| ExecuteAsync(ActionContext, ViewResult) |
通过修改 HttpResponse异步执行操作结果。 |
| ExecuteAsync(ViewContext, String, Nullable<Int32>) |
异步执行视图。 (继承自 ViewExecutor) |
| FindView(ActionContext, ViewResult) |
尝试查找 IView 与 |