13 writes to View
Microsoft.AspNetCore.Mvc.Localization.Test (10)
ViewLocalizerTest.cs (10)
37viewContext.View = view.Object; 71viewContext.View = view.Object; 103viewContext.View = view.Object; 127viewContext.View = view.Object; 152viewContext.View = view.Object; 178viewContext.View = view.Object; 202viewContext.View = view.Object; 226viewContext.View = view.Object; 250viewContext.View = view.Object; 274viewContext.View = view.Object;
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\PageResultExecutor.cs (1)
72viewContext.View = new RazorView(
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
Rendering\ViewContext.cs (2)
63View = view; 105View = view;
12 references to View
Microsoft.AspNetCore.Mvc.Localization (1)
ViewLocalizer.cs (1)
87path = viewContext.View.Path;
Microsoft.AspNetCore.Mvc.Razor (1)
RazorPage.cs (1)
179viewContext.View.Path));
Microsoft.AspNetCore.Mvc.Razor.Test (3)
RazorViewTest.cs (3)
153Assert.Equal(pagePath, v.ViewContext.View.Path); 163Assert.Equal(pagePath, v.ViewContext.View.Path); 173Assert.Equal(pagePath, v.ViewContext.View.Path);
Microsoft.AspNetCore.Mvc.ViewFeatures (4)
Rendering\ViewContext.cs (1)
218private string DebuggerToString() => View?.Path ?? $"{{{GetType().FullName}}}";
TemplateRenderer.cs (1)
244var newViewContext = new ViewContext(viewContext, viewContext.View, viewData, viewContext.Writer);
ViewComponents\ViewComponentContext.cs (1)
60viewContext.View,
ViewExecutor.cs (1)
208var view = viewContext.View;
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (3)
Rendering\ViewContextTests.cs (1)
76Assert.Same(view, context.View);
ViewComponents\ViewComponentContextTest.cs (2)
47Assert.Same(viewContext.View, viewComponentContext.ViewContext.View);