14 references to ViewComponentContainer
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (14)
ViewComponents\DefaultViewComponentSelectorTest.cs (14)
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);
98
$"Type: '{typeof(
ViewComponentContainer
.Ambiguous1)}' - " +
100
$"Type: '{typeof(
ViewComponentContainer
.Ambiguous2)}' - " +
119
$"Type: '{typeof(
ViewComponentContainer
.AmbiguousBase)}' - " +
121
$"Type: '{typeof(
ViewComponentContainer
.DerivedAmbiguous)}' - " +
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);
240
: this(typeof(
ViewComponentContainer
).GetNestedTypes(bindingAttr: BindingFlags.Public))