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