9 references to ServiceFilterAttribute
Microsoft.AspNetCore.Mvc.Core (2)
Filters\FilterCollection.cs (1)
165
var filter = new
ServiceFilterAttribute
(filterType) { Order = order };
ServiceFilterOfTAttribute.cs (1)
17
public ServiceFilterAttribute() :
base
(typeof(TFilter)) { }
Microsoft.AspNetCore.Mvc.Core.Test (4)
ApiConventionTypeAttributeTest.cs (2)
60
var attributes = new Attribute[] { new ProducesAttribute(typeof(object)), new
ServiceFilterAttribute
(typeof(object)), new AuthorizeAttribute() };
74
[
ServiceFilter
(typeof(object))]
ServiceFilterAttributeTest.cs (2)
20
var serviceFilter = new
ServiceFilterAttribute
(typeof(TestFilter));
37
var 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))]