3 writes to ViewComponentType
Microsoft.AspNetCore.Mvc.RazorPages (2)
PageBase.cs (1)
1261ViewComponentType = componentType,
PageModel.cs (1)
1619ViewComponentType = componentType,
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Controller.cs (1)
274ViewComponentType = componentType,
6 references to ViewComponentType
Microsoft.AspNetCore.Mvc.ViewFeatures (6)
ViewComponentResult.cs (1)
28/// Gets or sets the name of the view component to invoke. Will be ignored if <see cref="ViewComponentType"/>
ViewComponentResultExecutor.cs (5)
144if (result.ViewComponentType == null && result.ViewComponentName == null) 148nameof(ViewComponentResult.ViewComponentType))); 150else if (result.ViewComponentType == null) 157Log.ViewComponentResultExecuting(logger, result.ViewComponentType); 158return viewComponentHelper.InvokeAsync(result.ViewComponentType, result.Arguments);