14 writes to ViewComponentName
Microsoft.AspNetCore.Mvc.RazorPages (2)
PageBase.cs (1)
1239ViewComponentName = componentName,
PageModel.cs (1)
1597ViewComponentName = componentName,
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Controller.cs (1)
251ViewComponentName = componentName,
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (11)
ViewComponentResultTest.cs (11)
90ViewComponentName = "Text" 132ViewComponentName = "Text", 186ViewComponentName = "Text", 217ViewComponentName = "Text", 248ViewComponentName = "AsyncText", 281ViewComponentName = "Text", 320ViewComponentName = "Text", 351ViewComponentName = "Full.Name.Text", 559ViewComponentName = "Text", 600ViewComponentName = "Text", 638ViewComponentName = "Text",
7 references to ViewComponentName
Microsoft.AspNetCore.Mvc.RazorPages.Test (2)
PageModelTest.cs (1)
2002Assert.Equal("TagCloud", result.ViewComponentName);
PageTest.cs (1)
1777Assert.Equal("TagCloud", result.ViewComponentName);
Microsoft.AspNetCore.Mvc.ViewFeatures (4)
ViewComponentResultExecutor.cs (4)
144if (result.ViewComponentType == null && result.ViewComponentName == null) 147nameof(ViewComponentResult.ViewComponentName), 152Log.ViewComponentResultExecuting(logger, result.ViewComponentName); 153return viewComponentHelper.InvokeAsync(result.ViewComponentName!, result.Arguments);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
ControllerUnitTestabilityTests.cs (1)
648Assert.Equal("TagCloud", result.ViewComponentName);