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