31 implementations of Order
Microsoft.AspNetCore.Mvc.Core (19)
DisableRequestSizeLimitAttribute.cs (1)
36public int Order { get; set; } = 900;
Filters\ActionFilterAttribute.cs (1)
18public int Order { get; set; }
Filters\ControllerActionFilter.cs (1)
15public int Order { get; set; } = int.MinValue;
Filters\ControllerResultFilter.cs (1)
15public int Order { get; set; } = int.MinValue;
Filters\ExceptionFilterAttribute.cs (1)
14public int Order { get; set; }
Filters\MiddlewareFilterAttribute.cs (1)
33public int Order { get; set; }
Filters\ResultFilterAttribute.cs (1)
15public int Order { get; set; }
Infrastructure\ClientErrorResultFilter.cs (1)
26public int Order => FilterOrder;
Infrastructure\ClientErrorResultFilterFactory.cs (1)
13public int Order => ClientErrorResultFilter.FilterOrder;
Infrastructure\ModelStateInvalidFilter.cs (1)
57public int Order => FilterOrder;
Infrastructure\ModelStateInvalidFilterFactory.cs (1)
15public int Order => ModelStateInvalidFilter.FilterOrder;
ModelBinding\UnsupportedContentTypeFilter.cs (1)
24public int Order { get; set; } = -3000;
ProducesAttribute.cs (1)
67public int Order { get; set; }
RequestFormLimitsAttribute.cs (1)
34public int Order { get; set; } = 900;
RequestSizeLimitAttribute.cs (1)
43public int Order { get; set; } = 900;
RequireHttpsAttribute.cs (1)
31public int Order { get; set; } = int.MinValue + 50;
ResponseCacheAttribute.cs (1)
75public int Order { get; set; }
ServiceFilterAttribute.cs (1)
36public int Order { get; set; }
TypeFilterAttribute.cs (1)
54public int Order { get; set; }
Microsoft.AspNetCore.Mvc.Core.Test (2)
Filters\FilterCollectionTest.cs (1)
154public int Order
Filters\FilterFactoryTest.cs (1)
323public int Order { get; set; }
Microsoft.AspNetCore.Mvc.Cors (3)
CorsAuthorizationFilter.cs (1)
60public int Order => int.MinValue + 100;
CorsAuthorizationFilterFactory.cs (1)
28public int Order => int.MinValue + 100;
DisableCorsAuthorizationFilter.cs (1)
19public int Order => int.MinValue + 100;
Microsoft.AspNetCore.Mvc.RazorPages (3)
Filters\PageHandlerPageFilter.cs (1)
13public int Order => int.MinValue;
Filters\PageHandlerResultFIlter.cs (1)
13public int Order => int.MinValue;
Infrastructure\HandleOptionsRequestsPageFilter.cs (1)
29public int Order => 1000;
Microsoft.AspNetCore.Mvc.ViewFeatures (4)
AutoValidateAntiforgeryTokenAttribute.cs (1)
41public int Order { get; set; } = 1000;
IgnoreAntiforgeryTokenAttribute.cs (1)
31public int Order { get; set; } = 1000;
SaveTempDataAttribute.cs (1)
30public int Order { get; set; }
ValidateAntiForgeryTokenAttribute.cs (1)
40public int Order { get; set; } = 1000;
30 references to Order
Microsoft.AspNetCore.Mvc.Abstractions (11)
Filters\FilterDescriptor.cs (2)
34/// <see cref="Order"/> will be taken from <see cref="IOrderedFilter.Order"/>. Otherwise the value 46Order = orderedFilter.Order;
Filters\IOrderedFilter.cs (9)
13/// ascending numeric value of the <see cref="Order"/> property. 17/// Filters are executed in an ordering determined by an ascending sort of the <see cref="Order"/> property. 21/// filters of the same filter kind. An asynchronous filter with a lower numeric <see cref="Order"/> 23/// executed before that of a filter with a higher value of <see cref="Order"/>. 28/// <see cref="IActionFilter.OnActionExecuted"/>. A synchronous filter with a lower numeric <see cref="Order"/> 30/// <see cref="Order"/>. During the after-stage of the filter, a synchronous filter with a lower 31/// numeric <see cref="Order"/> value will have its after-method executed after that of a filter with a higher 32/// value of <see cref="Order"/>. 35/// If two filters have the same numeric value of <see cref="Order"/>, then their relative execution order
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)
270filterList.Add($"{filter.GetType()} (Order: {orderedFilter.Order})");
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 (10)
Filters\FilterCollectionTest.cs (4)
50Assert.Equal(17, Assert.IsAssignableFrom<IOrderedFilter>(added).Order); 63Assert.Equal(17, Assert.IsAssignableFrom<IOrderedFilter>(added).Order); 121Assert.Equal(17, Assert.IsAssignableFrom<IOrderedFilter>(added).Order); 134Assert.Equal(17, Assert.IsAssignableFrom<IOrderedFilter>(added).Order);
Filters\FilterProviderTest.cs (1)
81filterFactory.As<IOrderedFilter>().SetupGet(ff => ff.Order).Returns(17);
MvcCoreLoggerExtensionsTest.cs (5)
173orderedAuthFilterMock.SetupGet(f => f.Order).Returns(-100); 227orderedResourceFilterMock.SetupGet(f => f.Order).Returns(-100); 267orderedActionFilterMock.SetupGet(f => f.Order).Returns(-100); 315orderedExceptionFilterMock.SetupGet(f => f.Order).Returns(-100); 361orderedResultFilterMock.SetupGet(f => f.Order).Returns(-100);
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.