20 writes to TypeInfo
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
ViewComponents\DefaultViewComponentDescriptorProvider.cs (1)
55TypeInfo = typeInfo,
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (18)
ViewComponentResultTest.cs (14)
78TypeInfo = typeof(TextViewComponent).GetTypeInfo(), 176TypeInfo = typeof(TextViewComponent).GetTypeInfo(), 207TypeInfo = typeof(TextViewComponent).GetTypeInfo(), 238TypeInfo = typeof(AsyncTextViewComponent).GetTypeInfo(), 269TypeInfo = typeof(TextViewComponent).GetTypeInfo(), 310TypeInfo = typeof(TextViewComponent).GetTypeInfo(), 341TypeInfo = typeof(TextViewComponent).GetTypeInfo(), 372TypeInfo = typeof(TextViewComponent).GetTypeInfo(), 404TypeInfo = typeof(TextViewComponent).GetTypeInfo(), 446TypeInfo = typeof(TextViewComponent).GetTypeInfo(), 487TypeInfo = typeof(TextViewComponent).GetTypeInfo(), 547TypeInfo = typeof(TextViewComponent).GetTypeInfo(), 587TypeInfo = typeof(TextViewComponent).GetTypeInfo(), 626TypeInfo = typeof(TextViewComponent).GetTypeInfo(),
ViewComponents\ContentViewComponentResultTest.cs (1)
54TypeInfo = typeof(object).GetTypeInfo(),
ViewComponents\DefaultViewComponentActivatorTests.cs (1)
87TypeInfo = componentType.GetTypeInfo()
ViewComponents\HtmlContentViewComponentResultTest.cs (1)
54TypeInfo = typeof(object).GetTypeInfo(),
ViewComponents\ViewViewComponentResultTest.cs (1)
533TypeInfo = typeof(object).GetTypeInfo(),
TagHelpersWebSite (1)
TagHelpers\TagCloudViewComponentTagHelper.cs (1)
51TypeInfo = typeof(TagCloudViewComponentTagHelper).GetTypeInfo(),
17 references to TypeInfo
Microsoft.AspNetCore.Mvc.ViewFeatures (8)
ViewComponents\DefaultViewComponentActivator.cs (3)
39var componentType = context.ViewComponentDescriptor.TypeInfo; 44nameof(context.ViewComponentDescriptor.TypeInfo), 50context.ViewComponentDescriptor.TypeInfo.AsType());
ViewComponents\DefaultViewComponentHelper.cs (1)
99if (descriptor.TypeInfo == componentType.GetTypeInfo())
ViewComponents\DefaultViewComponentSelector.cs (1)
96candidate.TypeInfo.FullName,
ViewComponents\ServiceBasedViewComponentActivator.cs (1)
19var viewComponentType = context.ViewComponentDescriptor.TypeInfo.AsType();
ViewComponents\ViewComponentDescriptor.cs (1)
34_displayName = TypeInfo?.FullName;
ViewComponents\ViewComponentInvokerCache.cs (1)
62viewComponentDescriptor.TypeInfo,
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (9)
ViewComponents\DefaultViewComponentSelectorTest.cs (9)
23Assert.Same(typeof(ViewComponentContainer.SuffixViewComponent).GetTypeInfo(), result.TypeInfo); 36Assert.Same(typeof(ViewComponentContainer.SuffixViewComponent).GetTypeInfo(), result.TypeInfo); 49Assert.Same(typeof(ViewComponentContainer.WithoutSuffix).GetTypeInfo(), result.TypeInfo); 62Assert.Same(typeof(ViewComponentContainer.WithoutSuffix).GetTypeInfo(), result.TypeInfo); 75Assert.Same(typeof(ViewComponentContainer.ByAttribute).GetTypeInfo(), result.TypeInfo); 88Assert.Same(typeof(ViewComponentContainer.ByNamingConventionViewComponent).GetTypeInfo(), result.TypeInfo); 141Assert.Same(typeof(ViewComponentContainer.Ambiguous1).GetTypeInfo(), result.TypeInfo); 154Assert.Same(typeof(ViewComponentContainer.DerivedAmbiguousWithOverriddenName).GetTypeInfo(), result.TypeInfo); 169Assert.Same(typeof(ViewComponentContainer.FullNameInAttribute).GetTypeInfo(), result.TypeInfo);