Implemented interface member:
property
Filters
Microsoft.AspNetCore.Mvc.ApplicationModels.IFilterModel.Filters
1 write to Filters
Microsoft.AspNetCore.Mvc.Core (1)
ApplicationModels\ApplicationModel.cs (1)
22
Filters
= new List<IFilterMetadata>();
8 references to Filters
Microsoft.AspNetCore.Mvc.Core (2)
ApplicationModels\ControllerActionDescriptorBuilder.cs (1)
46
AddActionFilters(actionDescriptor, action.Filters, controller.Filters, application.
Filters
);
ApplicationModels\DefaultApplicationModelProvider.cs (1)
48
context.Result.
Filters
.Add(filter);
Microsoft.AspNetCore.Mvc.Core.Test (1)
ApplicationModels\DefaultApplicationModelProviderTest.cs (1)
39
Assert.Equal(options.Filters.ToArray(), context.Result.
Filters
);
Microsoft.AspNetCore.Mvc.Cors (2)
CorsApplicationModelProvider.cs (2)
42
var isCorsEnabledGlobally = context.Result.
Filters
.OfType<ICorsAuthorizationFilter>().Any() ||
43
context.Result.
Filters
.OfType<CorsAuthorizationFilterFactory>().Any();
Microsoft.AspNetCore.Mvc.Cors.Test (3)
CorsApplicationModelProviderTest.cs (3)
141
context.Result.
Filters
.Add(
161
context.Result.
Filters
.Add(new DisableCorsAuthorizationFilter());
180
context.Result.
Filters
.Add(new CustomCorsFilterAttribute());