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