1 write to View
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
ViewEngines\ViewEngineResult.cs (1)
75View = view,
55 references to View
Microsoft.AspNetCore.Mvc.Razor.Test (26)
RazorViewEngineTest.cs (26)
157var view = Assert.IsType<RazorView>(result.View); 189var view1 = Assert.IsType<RazorView>(result1.View); 200var view2 = Assert.IsType<RazorView>(result2.View); 323var view = Assert.IsType<RazorView>(result.View); 355var view = Assert.IsType<RazorView>(result.View); 521var view = Assert.IsType<RazorView>(result.View); 557var view1 = Assert.IsType<RazorView>(result1.View); 571var view2 = Assert.IsType<RazorView>(result2.View); 583var view3 = Assert.IsType<RazorView>(result3.View); 585var view4 = Assert.IsType<RazorView>(result4.View); 621var view1 = Assert.IsType<RazorView>(result1.View); 636var view2 = Assert.IsType<RazorView>(result2.View); 648var view3 = Assert.IsType<RazorView>(result3.View); 650var view4 = Assert.IsType<RazorView>(result4.View); 715Assert.IsAssignableFrom<IView>(result.View); 783Assert.IsAssignableFrom<IView>(result.View); 816Assert.IsAssignableFrom<IView>(result.View); 843var view1 = Assert.IsType<RazorView>(result1.View); 856var view2 = Assert.IsType<RazorView>(result2.View); 880var view1 = Assert.IsType<RazorView>(result1.View); 893var view2 = Assert.IsType<RazorView>(result2.View); 931var view1 = Assert.IsType<RazorView>(result1.View); 940var view2 = Assert.IsType<RazorView>(result2.View); 1054var view = Assert.IsType<RazorView>(result.View); 2002var view = Assert.IsType<RazorView>(result.View); 2020var view = Assert.IsType<RazorView>(result.View);
Microsoft.AspNetCore.Mvc.TagHelpers (1)
PartialTagHelper.cs (1)
144await RenderPartialViewAsync(writer, model, result.View);
Microsoft.AspNetCore.Mvc.ViewFeatures (16)
HtmlHelper.cs (2)
540var view = viewEngineResult.View; 549await viewEngineResult.View.RenderAsync(viewContext);
PartialViewResultExecutor.cs (3)
105view: result.View); 106Log.PartialViewFound(Logger, result.View, stopwatch.GetElapsedTime()); 155var view = viewEngineResult.View;
TemplateRenderer.cs (3)
119var view = viewEngineResult.View; 122var viewContext = new ViewContext(_viewContext, viewEngineResult.View, _viewData, writer); 123var renderTask = viewEngineResult.View.RenderAsync(viewContext);
ViewComponents\ViewViewComponentResult.cs (1)
108var view = result.EnsureSuccessful(originalLocations).View!;
ViewEngines\CompositeViewEngine.cs (1)
49if (result.View is IAsyncDisposable)
ViewEngines\ViewEngineResult.cs (3)
40[MemberNotNullWhen(true, nameof(View))] 41public bool Success => View != null; 90[MemberNotNull(nameof(View))]
ViewResultExecutor.cs (3)
106Log.ViewFound(Logger, result.View, stopwatch.GetElapsedTime()); 125view: result.View); 149var view = viewEngineResult.View;
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (12)
PartialViewResultExecutorTest.cs (3)
131Assert.Null(result.View); 166Assert.Null(result.View); 201Assert.Null(result.View);
ViewEngines\CompositeViewEngineTest.cs (6)
89Assert.Same(view, result.View); 123Assert.Same(view2, result.View); 224Assert.Same(view, result.View); 261Assert.Same(view2, result.View); 356Assert.Same(view, result.View); 390Assert.Same(view2, result.View);
ViewResultExecutorTest.cs (3)
129Assert.Null(result.View); 163Assert.Null(result.View); 197Assert.Null(result.View);