2 writes to Filters
Microsoft.AspNetCore.Mvc.Core (1)
MvcOptions.cs (1)
42Filters = new FilterCollection();
Microsoft.AspNetCore.Mvc.Core.Test (1)
ApplicationModels\DefaultApplicationModelProviderTest.cs (1)
26Filters =
13 references to Filters
ApiExplorerWebSite (1)
Startup.cs (1)
18options.Filters.AddService(typeof(ApiExplorerDataFilter));
BasicWebSite (1)
StartupWithoutEndpointRouting.cs (1)
31options.Filters.Add(new TraceResourceFilter());
Microsoft.AspNetCore.Identity.FunctionalTests (1)
Infrastructure\FunctionalTestsServiceCollectionExtensions.cs (1)
50config.Filters.Add(new AuthorizeFilter(policy));
Microsoft.AspNetCore.Mvc.Core (2)
ApplicationModels\DefaultApplicationModelProvider.cs (1)
46foreach (var filter in _mvcOptions.Filters)
Infrastructure\MvcCoreMvcOptionsSetup.cs (1)
68options.Filters.Add(new UnsupportedContentTypeFilter());
Microsoft.AspNetCore.Mvc.Core.Test (2)
ApplicationModels\ControllerActionDescriptorProviderTests.cs (1)
1333options.Value.Filters.Add(filter);
ApplicationModels\DefaultApplicationModelProviderTest.cs (1)
39Assert.Equal(options.Filters.ToArray(), context.Result.Filters);
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\CompiledPageActionDescriptorFactory.cs (1)
30_globalFilters = mvcOptions.Filters;
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
DependencyInjection\TempDataMvcOptionsSetup.cs (1)
17options.Filters.Add(new SaveTempDataAttribute());
SecurityWebSite (4)
StartupWithGlobalAuthFilter.cs (1)
29o.Filters.Add(new AuthorizeFilter("RequireClaimA"));
StartupWithGlobalAuthFilterWithoutEndpointRouting.cs (1)
30o.Filters.Add(new AuthorizeFilter("RequireClaimA"));
StartupWithGlobalDenyAnonymousFilter.cs (1)
24o.Filters.Add(new AuthorizeFilter());
StartupWithGlobalDenyAnonymousFilterWithUseMvc.cs (1)
31o.Filters.Add(new AuthorizeFilter());