13 writes to ViewName
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Controller.cs (1)
148
ViewName
= viewName,
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (12)
ViewResultExecutorTest.cs (8)
41
ViewName
= viewName,
118
ViewName
= viewName,
152
ViewName
= viewName,
186
ViewName
= viewName,
215
ViewName
= viewName,
256
ViewName
= viewName,
286
ViewName
= "my-view",
310
ViewName
= "my-view",
ViewResultTest.cs (4)
96
ViewName
= viewName,
136
ViewName
= viewName,
176
ViewName
= viewName,
224
ViewName
= viewName,
8 references to ViewName
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
ViewResultExecutor.cs (1)
68
var viewName = viewResult.
ViewName
?? GetActionName(actionContext) ?? string.Empty;
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (7)
ControllerTest.cs (6)
78
Assert.Null(actualViewResult.
ViewName
);
102
Assert.Null(actualViewResult.
ViewName
);
123
Assert.Equal("CustomViewName", actualViewResult.
ViewName
);
145
Assert.Null(actualViewResult.
ViewName
);
167
Assert.Equal("CustomViewName", actualViewResult.
ViewName
);
189
Assert.Null(actualViewResult.
ViewName
);
ControllerUnitTestabilityTests.cs (1)
30
Assert.Equal(viewName, viewResult.
ViewName
);