Implemented interface member:
method
GetViewComponents
Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentDescriptorProvider.GetViewComponents()
6 references to GetViewComponents
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (6)
ViewComponents\DefaultViewComponentDescriptorProviderTest.cs (5)
22
var ex = Assert.Throws<InvalidOperationException>(() => provider.
GetViewComponents
().ToArray());
38
var ex = Assert.Throws<InvalidOperationException>(() => provider.
GetViewComponents
().ToArray());
53
var ex = Assert.Throws<InvalidOperationException>(() => provider.
GetViewComponents
().ToArray());
67
var ex = Assert.Throws<InvalidOperationException>(() => provider.
GetViewComponents
().ToArray());
80
var ex = Assert.Throws<InvalidOperationException>(() => provider.
GetViewComponents
().ToArray());
ViewComponents\DefaultViewComponentHelperTest.cs (1)
158
return provider.
GetViewComponents
().First();