18 references to ViewDescriptors
Microsoft.AspNetCore.Identity.UI (2)
IdentityBuilderUIExtensions.cs (2)
114
foreach (var descriptor in feature.
ViewDescriptors
)
152
feature.
ViewDescriptors
.Remove(descriptorToRemove);
Microsoft.AspNetCore.Mvc.Razor (3)
ApplicationParts\RazorCompiledItemFeatureProvider.cs (1)
47
feature.
ViewDescriptors
.Add(descriptor);
Compilation\DefaultViewCompiler.cs (2)
53
viewsFeature.
ViewDescriptors
.Count,
56
foreach (var compiledView in viewsFeature.
ViewDescriptors
)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
RuntimeViewCompilerProvider.cs (1)
58
feature.
ViewDescriptors
,
Microsoft.AspNetCore.Mvc.Razor.Test (6)
ApplicationParts\RazorCompiledItemFeatureProviderTest.cs (5)
31
Assert.Equal(new[] { item1, item2 }, feature.
ViewDescriptors
.Select(d => d.Item));
60
Assert.Equal(new[] { item1, item2 }, feature.
ViewDescriptors
.Select(d => d.Item));
84
Assert.Equal(new[] { item1, item2 }, feature.
ViewDescriptors
.Select(d => d.Item));
129
Assert.Equal(new[] { item1, item2 }, feature.
ViewDescriptors
.Select(d => d.Item));
138
feature.
ViewDescriptors
,
Compilation\DefaultViewCompilerTest.cs (1)
155
feature.
ViewDescriptors
.Add(item);
Microsoft.AspNetCore.Mvc.RazorPages (3)
ApplicationModels\CompiledPageRouteModelProvider.cs (1)
55
foreach (var viewDescriptor in viewsFeature.
ViewDescriptors
)
Infrastructure\CompiledPageActionDescriptorProvider.cs (2)
57
var lookup = new Dictionary<string, CompiledViewDescriptor>(feature.
ViewDescriptors
.Count, StringComparer.Ordinal);
59
foreach (var viewDescriptor in feature.
ViewDescriptors
)
Microsoft.AspNetCore.Mvc.RazorPages.Test (3)
ApplicationModels\CompiledPageRouteModelProviderTest.cs (1)
506
feature.
ViewDescriptors
.Add(descriptor);
Builder\PageActionEndpointConventionBuilderResourceCollectionExtensionsTest.cs (2)
243
feature.
ViewDescriptors
.Clear();
244
feature.
ViewDescriptors
.Add(new CompiledViewDescriptor(TestRazorCompiledItem.CreateForPage(typeof(Index), "/Pages/Index.cshtml")));