1 write to Filter
Microsoft.AspNetCore.Mvc.Abstractions (1)
Filters\FilterDescriptor.cs (1)
41
Filter
= filter;
18 references to Filter
Microsoft.AspNetCore.Mvc.Abstractions (1)
Filters\FilterDescriptor.cs (1)
44
if (
Filter
is IOrderedFilter orderedFilter)
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
ApiResponseTypeProvider.cs (1)
70
.Select(fd => fd.
Filter
)
DefaultApiDescriptionProvider.cs (1)
494
.Select(fd => fd.
Filter
)
Microsoft.AspNetCore.Mvc.Core (4)
ConsumesAttribute.cs (2)
233
filter => filter.
Filter
is IConsumesActionConstraint).
Filter
== this;
Filters\DefaultFilterProvider.cs (1)
42
var filter = filterItem.Descriptor.
Filter
;
Routing\ActionEndpointFactory.cs (1)
403
foreach (var filter in action.FilterDescriptors.OrderBy(f => f, FilterDescriptorOrderComparer.Comparer).Select(f => f.
Filter
))
Microsoft.AspNetCore.Mvc.Core.Test (7)
ApplicationModels\ControllerActionDescriptorProviderTests.cs (3)
69
Assert.Same(globalFilter, filter1.
Filter
);
73
Assert.Equal(2, Assert.IsType<MyFilterAttribute>(filter2.
Filter
).Value);
77
Assert.Equal(3, Assert.IsType<MyFilterAttribute>(filter3.
Filter
).Value);
Filters\FilterProviderTest.cs (4)
35
Assert.Same(filter, item.Descriptor.
Filter
);
66
Assert.Same(filterFactory.Object, item.Descriptor.
Filter
);
98
Assert.Same(filterFactory.Object, item.Descriptor.
Filter
);
130
Assert.Same(filterFactory.Object, item.Descriptor.
Filter
);
Microsoft.AspNetCore.Mvc.Cors.Test (1)
CorsAuthorizationFilterTest.cs (1)
159
filterDescriptors.Select(filter => filter.
Filter
).ToList()
Microsoft.AspNetCore.Mvc.RazorPages.Test (3)
ApplicationModels\CompiledPageActionDescriptorBuilderTest.cs (3)
91
Assert.Equal(pageApplicationModel.Filters, actual.FilterDescriptors.Select(f => f.
Filter
));
174
Assert.Same(globalFilters[0], filterDescriptor.
Filter
);
179
Assert.Same(pageApplicationModel.Filters[0], filterDescriptor.
Filter
);