6 interfaces inheriting from IOrderedFilter
Microsoft.AspNetCore.Mvc.Core.Test (5)
MvcCoreLoggerExtensionsTest.cs (5)
483
public interface IOrderedAuthorizeFilter : IAuthorizationFilter, IAsyncAuthorizationFilter,
IOrderedFilter
{ }
485
public interface IOrderedResourceFilter : IResourceFilter, IAsyncResourceFilter,
IOrderedFilter
{ }
487
public interface IOrderedActionFilter : IActionFilter, IAsyncActionFilter,
IOrderedFilter
{ }
489
public interface IOrderedExceptionFilter : IExceptionFilter, IAsyncExceptionFilter,
IOrderedFilter
{ }
491
public interface IOrderedResultFilter : IResultFilter, IAsyncResultFilter,
IOrderedFilter
{ }
Microsoft.AspNetCore.Mvc.Cors (1)
ICorsAuthorizationFilter.cs (1)
11
internal interface ICorsAuthorizationFilter : IAsyncAuthorizationFilter,
IOrderedFilter
29 implementations of IOrderedFilter
Microsoft.AspNetCore.Mvc.Core (19)
DisableRequestSizeLimitAttribute.cs (1)
18
public class DisableRequestSizeLimitAttribute : Attribute, IFilterFactory,
IOrderedFilter
, IRequestSizeLimitMetadata
Filters\ActionFilterAttribute.cs (1)
15
Attribute, IActionFilter, IAsyncActionFilter, IResultFilter, IAsyncResultFilter,
IOrderedFilter
Filters\ControllerActionFilter.cs (1)
11
internal sealed class ControllerActionFilter : IAsyncActionFilter,
IOrderedFilter
Filters\ControllerResultFilter.cs (1)
11
internal sealed class ControllerResultFilter : IAsyncResultFilter,
IOrderedFilter
Filters\ExceptionFilterAttribute.cs (1)
11
public abstract class ExceptionFilterAttribute : Attribute, IAsyncExceptionFilter, IExceptionFilter,
IOrderedFilter
Filters\MiddlewareFilterAttribute.cs (1)
14
public class MiddlewareFilterAttribute : Attribute, IFilterFactory,
IOrderedFilter
Filters\ResultFilterAttribute.cs (1)
12
public abstract class ResultFilterAttribute : Attribute, IResultFilter, IAsyncResultFilter,
IOrderedFilter
Infrastructure\ClientErrorResultFilter.cs (1)
9
internal sealed partial class ClientErrorResultFilter : IAlwaysRunResultFilter,
IOrderedFilter
Infrastructure\ClientErrorResultFilterFactory.cs (1)
11
internal sealed class ClientErrorResultFilterFactory : IFilterFactory,
IOrderedFilter
Infrastructure\ModelStateInvalidFilter.cs (1)
17
public partial class ModelStateInvalidFilter : IActionFilter,
IOrderedFilter
Infrastructure\ModelStateInvalidFilterFactory.cs (1)
13
internal sealed class ModelStateInvalidFilterFactory : IFilterFactory,
IOrderedFilter
ModelBinding\UnsupportedContentTypeFilter.cs (1)
16
public class UnsupportedContentTypeFilter : IActionFilter,
IOrderedFilter
ProducesAttribute.cs (1)
19
public class ProducesAttribute : Attribute, IResultFilter,
IOrderedFilter
, IApiResponseMetadataProvider
RequestFormLimitsAttribute.cs (1)
16
public class RequestFormLimitsAttribute : Attribute, IFilterFactory,
IOrderedFilter
, IFormOptionsMetadata
RequestSizeLimitAttribute.cs (1)
14
public class RequestSizeLimitAttribute : Attribute, IFilterFactory,
IOrderedFilter
, IRequestSizeLimitMetadata
RequireHttpsAttribute.cs (1)
15
public class RequireHttpsAttribute : Attribute, IAuthorizationFilter,
IOrderedFilter
ResponseCacheAttribute.cs (1)
16
public class ResponseCacheAttribute : Attribute, IFilterFactory,
IOrderedFilter
ServiceFilterAttribute.cs (1)
24
public class ServiceFilterAttribute : Attribute, IFilterFactory,
IOrderedFilter
TypeFilterAttribute.cs (1)
26
public class TypeFilterAttribute : Attribute, IFilterFactory,
IOrderedFilter
Microsoft.AspNetCore.Mvc.Core.Test (2)
Filters\FilterCollectionTest.cs (1)
152
private class MyFilter : IFilterMetadata,
IOrderedFilter
Filters\FilterFactoryTest.cs (1)
321
private class TestOrderedFilter : IFilterMetadata,
IOrderedFilter
Microsoft.AspNetCore.Mvc.Cors (1)
CorsAuthorizationFilterFactory.cs (1)
12
internal sealed class CorsAuthorizationFilterFactory : IFilterFactory,
IOrderedFilter
Microsoft.AspNetCore.Mvc.RazorPages (3)
Filters\PageHandlerPageFilter.cs (1)
8
internal sealed class PageHandlerPageFilter : IAsyncPageFilter,
IOrderedFilter
Filters\PageHandlerResultFIlter.cs (1)
8
internal sealed class PageHandlerResultFilter : IAsyncResultFilter,
IOrderedFilter
Infrastructure\HandleOptionsRequestsPageFilter.cs (1)
24
internal sealed class HandleOptionsRequestsPageFilter : IPageFilter,
IOrderedFilter
Microsoft.AspNetCore.Mvc.ViewFeatures (4)
AutoValidateAntiforgeryTokenAttribute.cs (1)
23
public class AutoValidateAntiforgeryTokenAttribute : Attribute, IFilterFactory,
IOrderedFilter
IgnoreAntiforgeryTokenAttribute.cs (1)
13
public class IgnoreAntiforgeryTokenAttribute : Attribute, IAntiforgeryPolicy,
IOrderedFilter
SaveTempDataAttribute.cs (1)
16
public class SaveTempDataAttribute : Attribute, IFilterFactory,
IOrderedFilter
ValidateAntiForgeryTokenAttribute.cs (1)
22
public class ValidateAntiForgeryTokenAttribute : Attribute, IFilterFactory,
IOrderedFilter
17 references to IOrderedFilter
Microsoft.AspNetCore.Mvc.Abstractions (3)
Filters\FilterDescriptor.cs (3)
33
/// If the <paramref name="filter"/> implements <see cref="
IOrderedFilter
"/>, then the value of
34
/// <see cref="Order"/> will be taken from <see cref="
IOrderedFilter
.Order"/>. Otherwise the value
44
if (Filter is
IOrderedFilter
orderedFilter)
Microsoft.AspNetCore.Mvc.Core (6)
DisableRequestSizeLimitAttribute.cs (1)
33
/// Look at <see cref="
IOrderedFilter
.Order"/> for more detailed info.
Infrastructure\ModelStateInvalidFilter.cs (1)
54
/// Look at <see cref="
IOrderedFilter
.Order"/> for more detailed info.
ModelBinding\UnsupportedContentTypeFilter.cs (1)
19
/// Gets or sets the filter order. <see cref="
IOrderedFilter
.Order"/>.
MvcCoreLoggerExtensions.cs (1)
268
if (filter is
IOrderedFilter
orderedFilter)
RequestFormLimitsAttribute.cs (1)
31
/// Look at <see cref="
IOrderedFilter
.Order"/> for more detailed info.
RequestSizeLimitAttribute.cs (1)
40
/// Look at <see cref="
IOrderedFilter
.Order"/> for more detailed info.
Microsoft.AspNetCore.Mvc.Core.Test (5)
Filters\FilterCollectionTest.cs (4)
50
Assert.Equal(17, Assert.IsAssignableFrom<
IOrderedFilter
>(added).Order);
63
Assert.Equal(17, Assert.IsAssignableFrom<
IOrderedFilter
>(added).Order);
121
Assert.Equal(17, Assert.IsAssignableFrom<
IOrderedFilter
>(added).Order);
134
Assert.Equal(17, Assert.IsAssignableFrom<
IOrderedFilter
>(added).Order);
Filters\FilterProviderTest.cs (1)
81
filterFactory.As<
IOrderedFilter
>().SetupGet(ff => ff.Order).Returns(17);
Microsoft.AspNetCore.Mvc.ViewFeatures (3)
AutoValidateAntiforgeryTokenAttribute.cs (1)
38
/// Look at <see cref="
IOrderedFilter
.Order"/> for more detailed info.
IgnoreAntiforgeryTokenAttribute.cs (1)
28
/// Look at <see cref="
IOrderedFilter
.Order"/> for more detailed info.
ValidateAntiForgeryTokenAttribute.cs (1)
37
/// Look at <see cref="
IOrderedFilter
.Order"/> for more detailed info.