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