9 references to ServiceFilterAttribute
Microsoft.AspNetCore.Mvc.Core (2)
Filters\FilterCollection.cs (1)
165var filter = new ServiceFilterAttribute(filterType) { Order = order };
ServiceFilterOfTAttribute.cs (1)
17public ServiceFilterAttribute() : base(typeof(TFilter)) { }
Microsoft.AspNetCore.Mvc.Core.Test (4)
ApiConventionTypeAttributeTest.cs (2)
60var attributes = new Attribute[] { new ProducesAttribute(typeof(object)), new ServiceFilterAttribute(typeof(object)), new AuthorizeAttribute() }; 74[ServiceFilter(typeof(object))]
ServiceFilterAttributeTest.cs (2)
20var serviceFilter = new ServiceFilterAttribute(typeof(TestFilter)); 37var serviceFilter = new ServiceFilterAttribute(typeof(TestFilterFactory));
Microsoft.AspNetCore.Mvc.RazorPages.Test (3)
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (3)
553[ServiceFilter(typeof(Guid))] 566[ServiceFilter(typeof(IServiceProvider))] 1214[ServiceFilter(typeof(IServiceProvider))]