3 writes to ViewComponentDescriptor
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
ViewComponents\ViewComponentContext.cs (2)
25ViewComponentDescriptor = new ViewComponentDescriptor(); 52ViewComponentDescriptor = viewComponentDescriptor;
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
ViewComponents\DefaultViewComponentActivatorTests.cs (1)
85ViewComponentDescriptor = new ViewComponentDescriptor
13 references to ViewComponentDescriptor
Microsoft.AspNetCore.Mvc.ViewFeatures (12)
ViewComponents\DefaultViewComponentActivator.cs (4)
39var componentType = context.ViewComponentDescriptor.TypeInfo; 44nameof(context.ViewComponentDescriptor.TypeInfo), 45nameof(context.ViewComponentDescriptor))); 50context.ViewComponentDescriptor.TypeInfo.AsType());
ViewComponents\DefaultViewComponentInvoker.cs (3)
235return logger.BeginScope(new ViewComponentLogScope(context.ViewComponentDescriptor)); 247ViewComponentExecuting(logger, context.ViewComponentDescriptor.DisplayName, formattedArguments); 262context.ViewComponentDescriptor.DisplayName,
ViewComponents\IViewComponentInvoker.cs (1)
12/// Executes the view component specified by <see cref="ViewComponentContext.ViewComponentDescriptor"/>
ViewComponents\ServiceBasedViewComponentActivator.cs (1)
19var viewComponentType = context.ViewComponentDescriptor.TypeInfo.AsType();
ViewComponents\ViewComponentInvokerCache.cs (2)
42var viewComponentDescriptor = viewComponentContext.ViewComponentDescriptor; 49var methodInfo = viewComponentContext.ViewComponentDescriptor?.MethodInfo;
ViewComponents\ViewViewComponentResult.cs (1)
102context.ViewComponentDescriptor.ShortName,
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
ViewComponents\ViewViewComponentResultTest.cs (1)
456componentContext.ViewComponentDescriptor.ShortName = shortName;