IView Interface¶
Properties¶
-
Path
()¶ Gets the path of the view as resolved by the [Microsoft.AspNet.Mvc.Rendering.IViewEngine](Microsoft.AspNet.Mvc.Rendering.IViewEngine.yml).
Return type: System.String string Path { get; }
-
Methods¶
-
RenderAsync
(Microsoft.AspNet.Mvc.ViewContext)¶ Asynchronously renders the view using the specified <paramref name=”context” />.
Arguments: - context (Microsoft.AspNet.Mvc.ViewContext) – The [Microsoft.AspNet.Mvc.ViewContext](Microsoft.AspNet.Mvc.ViewContext.yml).
Return type: System.Threading.Tasks.Task
Returns: A [System.Threading.Tasks.Task]() that on completion renders the view.
Task RenderAsync(ViewContext context)
-