1 write to ViewName
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
ViewEngines\ViewEngineResult.cs (1)
19ViewName = viewName;
25 references to ViewName
Microsoft.AspNetCore.Mvc.Razor.Test (9)
RazorViewEngineTest.cs (9)
159Assert.Equal("test-view", result.ViewName); 191Assert.Equal("test-view", result1.ViewName); 324Assert.Equal("test-view", result.ViewName); 383Assert.Equal(viewName, result.ViewName); 409Assert.Equal(viewName, result.ViewName); 435Assert.Equal(viewName, result.ViewName); 463Assert.Equal(viewName, result.ViewName); 491Assert.Equal(viewName, result.ViewName); 519Assert.Equal(viewName, result.ViewName);
Microsoft.AspNetCore.Mvc.TagHelpers (1)
PartialTagHelper.cs (1)
141var viewBuffer = new ViewBuffer(_viewBufferScope, result.ViewName, ViewBuffer.PartialViewPageSize);
Microsoft.AspNetCore.Mvc.ViewFeatures (4)
PartialViewResultExecutor.cs (1)
78Log.PartialViewResultExecuting(Logger, result.ViewName);
ViewEngines\ViewEngineResult.cs (1)
106throw new InvalidOperationException(Resources.FormatViewEngine_ViewNotFound(ViewName, locations));
ViewResultExecutor.cs (2)
79Log.ViewResultExecuting(Logger, result.ViewName); 161Log.ViewResultExecuted(Logger, viewEngineResult.ViewName, stopwatch.GetElapsedTime());
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (11)
PartialViewResultExecutorTest.cs (4)
51Assert.Equal(viewName, viewEngineResult.ViewName); 73Assert.Equal(viewName, viewEngineResult.ViewName); 97Assert.Equal(viewName, viewEngineResult.ViewName); 228Assert.Equal(viewName, viewEngineResult.ViewName);
ViewEngines\CompositeViewEngineTest.cs (3)
124Assert.Equal(viewName, result.ViewName); 262Assert.Equal(expectedViewName, result.ViewName); 391Assert.Equal(viewName, result.ViewName);
ViewResultExecutorTest.cs (4)
50Assert.Equal(viewName, viewEngineResult.ViewName); 72Assert.Equal(viewName, viewEngineResult.ViewName); 96Assert.Equal(viewName, viewEngineResult.ViewName); 224Assert.Equal(viewName, viewEngineResult.ViewName);