3 writes to ViewComponentType
Microsoft.AspNetCore.Mvc.RazorPages (2)
PageBase.cs (1)
1261
ViewComponentType
= componentType,
PageModel.cs (1)
1619
ViewComponentType
= componentType,
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Controller.cs (1)
274
ViewComponentType
= 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)
144
if (result.
ViewComponentType
== null && result.ViewComponentName == null)
148
nameof(ViewComponentResult.
ViewComponentType
)));
150
else if (result.
ViewComponentType
== null)
157
Log.ViewComponentResultExecuting(logger, result.
ViewComponentType
);
158
return viewComponentHelper.InvokeAsync(result.
ViewComponentType
, result.Arguments);