2 implementations of IView
Microsoft.AspNetCore.Mvc.Razor (1)
RazorView.cs (1)
19public class RazorView : IView
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
NullView.cs (1)
9internal sealed class NullView : IView
60 references to IView
Microsoft.AspNetCore.Mvc.Razor (1)
RazorView.cs (1)
15/// Default implementation for <see cref="IView"/> that executes one or more <see cref="IRazorPage"/>
Microsoft.AspNetCore.Mvc.TagHelpers (1)
PartialTagHelper.cs (1)
198private async Task RenderPartialViewAsync(TextWriter writer, object model, IView view)
Microsoft.AspNetCore.Mvc.ViewFeatures (58)
Diagnostics\MvcDiagnostics.cs (20)
136/// <param name="view">The <see cref="IView"/>.</param> 137public ViewComponentBeforeViewExecuteEventData(ActionDescriptor actionDescriptor, ViewComponentContext viewComponentContext, IView view) 154/// The <see cref="IView"/>. 156public IView View { get; } 186/// <param name="view">The <see cref="IView"/>.</param> 187public ViewComponentAfterViewExecuteEventData(ActionDescriptor actionDescriptor, ViewComponentContext viewComponentContext, IView view) 205/// The <see cref="IView"/>. 207public IView View { get; } 235/// <param name="view">The <see cref="IView"/>.</param> 237public BeforeViewEventData(IView view, ViewContext viewContext) 244/// The <see cref="IView"/>. 246public IView View { get; } 278/// <param name="view">The <see cref="IView"/>.</param> 280public AfterViewEventData(IView view, ViewContext viewContext) 287/// The <see cref="IView"/>. 289public IView View { get; } 329/// <param name="view">The <see cref="IView"/>.</param> 330public ViewFoundEventData(ActionContext actionContext, bool isMainPage, ActionResult result, string viewName, IView view) 360/// The <see cref="IView"/>. 362public IView View { get; }
HtmlHelper.cs (1)
540var view = viewEngineResult.View;
MvcViewFeaturesDiagnosticListenerExtensions.cs (10)
71IView view) 80private static void ViewComponentBeforeViewExecuteImpl(DiagnosticListener diagnosticListener, ViewComponentContext context, IView view) 97IView view) 106private static void ViewComponentAfterViewExecuteImpl(DiagnosticListener diagnosticListener, ViewComponentContext context, IView view) 122IView view, 132private static void BeforeViewImpl(DiagnosticListener diagnosticListener, IView view, ViewContext viewContext) 144IView view, 154private static void AfterViewImpl(DiagnosticListener diagnosticListener, IView view, ViewContext viewContext) 170IView view) 179private static void ViewFoundImpl(DiagnosticListener diagnosticListener, ActionContext actionContext, bool isMainPage, ActionResult viewResult, string viewName, IView view)
PartialViewResultExecutor.cs (7)
19/// Finds and executes an <see cref="IView"/> for a <see cref="PartialViewResult"/>. 56/// Attempts to find the <see cref="IView"/> associated with <paramref name="viewResult"/>. 123/// Executes the <see cref="IView"/> asynchronously. 126/// <param name="view">The <see cref="IView"/>.</param> 129public virtual Task ExecuteAsync(ActionContext actionContext, IView view, PartialViewResult viewResult) 155var view = viewEngineResult.View; 198public static void PartialViewFound(ILogger logger, IView view, TimeSpan timespan)
Rendering\ViewContext.cs (6)
42/// <param name="view">The <see cref="IView"/> being rendered.</param> 49IView view, 81/// <param name="view">The <see cref="IView"/> being rendered.</param> 86IView view, 176/// Gets or sets the <see cref="IView"/> currently being rendered, if any. 178public IView View { get; set; }
TemplateRenderer.cs (1)
119var view = viewEngineResult.View;
ViewComponents\ViewViewComponentResult.cs (1)
108var view = result.EnsureSuccessful(originalLocations).View!;
ViewEngines\ViewEngineResult.cs (4)
28/// The <see cref="IView"/>. 30public IView? View { get; private init; } 66/// <param name="view">The <see cref="IView"/>.</param> 68public static ViewEngineResult Found(string viewName, IView view)
ViewExecutor.cs (4)
20/// Executes an <see cref="IView"/>. 110/// <param name="view">The <see cref="IView"/>.</param> 123IView view, 208var view = viewContext.View;
ViewResultExecutor.cs (4)
19/// Finds and executes an <see cref="IView"/> for a <see cref="ViewResult"/>. 56/// Attempts to find the <see cref="IView"/> associated with <paramref name="viewResult"/>. 149var view = viewEngineResult.View; 198public static void ViewFound(ILogger logger, IView view, TimeSpan timespan)