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