8 references to TypeFilterAttribute
Microsoft.AspNetCore.Mvc.Core (2)
Filters\FilterCollection.cs (1)
87
var filter = new
TypeFilterAttribute
(filterType) { Order = order };
TypeFilterOfTAttribute.cs (1)
15
public TypeFilterAttribute() :
base
(typeof(TFilter)) { }
Microsoft.AspNetCore.Mvc.Core.Test (4)
Filters\FilterFactoryTest.cs (1)
34
var filter = new FilterDescriptor(new
TypeFilterAttribute
(typeof(object)), FilterScope.Global);
TypeFilterAttributeTest.cs (3)
22
var typeFilter = new
TypeFilterAttribute
(typeof(TestFilter));
44
var typeFilter = new
TypeFilterAttribute
(typeof(TestFilter))
69
var typeFilter = new
TypeFilterAttribute
(typeof(TestFilterFactory))
Microsoft.AspNetCore.Mvc.RazorPages.Test (2)
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (2)
561
[
TypeFilter
(typeof(string))]
1123
[
TypeFilter
(typeof(object))]