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)
22var ex = Assert.Throws<InvalidOperationException>(() => provider.GetViewComponents().ToArray()); 38var ex = Assert.Throws<InvalidOperationException>(() => provider.GetViewComponents().ToArray()); 53var ex = Assert.Throws<InvalidOperationException>(() => provider.GetViewComponents().ToArray()); 67var ex = Assert.Throws<InvalidOperationException>(() => provider.GetViewComponents().ToArray()); 80var ex = Assert.Throws<InvalidOperationException>(() => provider.GetViewComponents().ToArray());
ViewComponents\DefaultViewComponentHelperTest.cs (1)
158return provider.GetViewComponents().First();