2 writes to Filters
Microsoft.AspNetCore.Mvc.Core (1)
MvcOptions.cs (1)
42
Filters
= new FilterCollection();
Microsoft.AspNetCore.Mvc.Core.Test (1)
ApplicationModels\DefaultApplicationModelProviderTest.cs (1)
26
Filters
=
13 references to Filters
ApiExplorerWebSite (1)
Startup.cs (1)
18
options.
Filters
.AddService(typeof(ApiExplorerDataFilter));
BasicWebSite (1)
StartupWithoutEndpointRouting.cs (1)
31
options.
Filters
.Add(new TraceResourceFilter());
Microsoft.AspNetCore.Identity.FunctionalTests (1)
Infrastructure\FunctionalTestsServiceCollectionExtensions.cs (1)
50
config.
Filters
.Add(new AuthorizeFilter(policy));
Microsoft.AspNetCore.Mvc.Core (2)
ApplicationModels\DefaultApplicationModelProvider.cs (1)
46
foreach (var filter in _mvcOptions.
Filters
)
Infrastructure\MvcCoreMvcOptionsSetup.cs (1)
68
options.
Filters
.Add(new UnsupportedContentTypeFilter());
Microsoft.AspNetCore.Mvc.Core.Test (2)
ApplicationModels\ControllerActionDescriptorProviderTests.cs (1)
1333
options.Value.
Filters
.Add(filter);
ApplicationModels\DefaultApplicationModelProviderTest.cs (1)
39
Assert.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)
17
options.
Filters
.Add(new SaveTempDataAttribute());
SecurityWebSite (4)
StartupWithGlobalAuthFilter.cs (1)
29
o.
Filters
.Add(new AuthorizeFilter("RequireClaimA"));
StartupWithGlobalAuthFilterWithoutEndpointRouting.cs (1)
30
o.
Filters
.Add(new AuthorizeFilter("RequireClaimA"));
StartupWithGlobalDenyAnonymousFilter.cs (1)
24
o.
Filters
.Add(new AuthorizeFilter());
StartupWithGlobalDenyAnonymousFilterWithUseMvc.cs (1)
31
o.
Filters
.Add(new AuthorizeFilter());