31 implementations of Order
Microsoft.AspNetCore.Mvc.Core (19)
DisableRequestSizeLimitAttribute.cs (1)
36
public int
Order
{ get; set; } = 900;
Filters\ActionFilterAttribute.cs (1)
18
public int
Order
{ get; set; }
Filters\ControllerActionFilter.cs (1)
15
public int
Order
{ get; set; } = int.MinValue;
Filters\ControllerResultFilter.cs (1)
15
public int
Order
{ get; set; } = int.MinValue;
Filters\ExceptionFilterAttribute.cs (1)
14
public int
Order
{ get; set; }
Filters\MiddlewareFilterAttribute.cs (1)
33
public int
Order
{ get; set; }
Filters\ResultFilterAttribute.cs (1)
15
public int
Order
{ get; set; }
Infrastructure\ClientErrorResultFilter.cs (1)
26
public int
Order
=> FilterOrder;
Infrastructure\ClientErrorResultFilterFactory.cs (1)
13
public int
Order
=> ClientErrorResultFilter.FilterOrder;
Infrastructure\ModelStateInvalidFilter.cs (1)
57
public int
Order
=> FilterOrder;
Infrastructure\ModelStateInvalidFilterFactory.cs (1)
15
public int
Order
=> ModelStateInvalidFilter.FilterOrder;
ModelBinding\UnsupportedContentTypeFilter.cs (1)
24
public int
Order
{ get; set; } = -3000;
ProducesAttribute.cs (1)
67
public int
Order
{ get; set; }
RequestFormLimitsAttribute.cs (1)
34
public int
Order
{ get; set; } = 900;
RequestSizeLimitAttribute.cs (1)
43
public int
Order
{ get; set; } = 900;
RequireHttpsAttribute.cs (1)
31
public int
Order
{ get; set; } = int.MinValue + 50;
ResponseCacheAttribute.cs (1)
75
public int
Order
{ get; set; }
ServiceFilterAttribute.cs (1)
36
public int
Order
{ get; set; }
TypeFilterAttribute.cs (1)
54
public int
Order
{ get; set; }
Microsoft.AspNetCore.Mvc.Core.Test (2)
Filters\FilterCollectionTest.cs (1)
154
public int
Order
Filters\FilterFactoryTest.cs (1)
323
public int
Order
{ get; set; }
Microsoft.AspNetCore.Mvc.Cors (3)
CorsAuthorizationFilter.cs (1)
60
public int
Order
=> int.MinValue + 100;
CorsAuthorizationFilterFactory.cs (1)
28
public int
Order
=> int.MinValue + 100;
DisableCorsAuthorizationFilter.cs (1)
19
public int
Order
=> int.MinValue + 100;
Microsoft.AspNetCore.Mvc.RazorPages (3)
Filters\PageHandlerPageFilter.cs (1)
13
public int
Order
=> int.MinValue;
Filters\PageHandlerResultFIlter.cs (1)
13
public int
Order
=> int.MinValue;
Infrastructure\HandleOptionsRequestsPageFilter.cs (1)
29
public int
Order
=> 1000;
Microsoft.AspNetCore.Mvc.ViewFeatures (4)
AutoValidateAntiforgeryTokenAttribute.cs (1)
41
public int
Order
{ get; set; } = 1000;
IgnoreAntiforgeryTokenAttribute.cs (1)
31
public int
Order
{ get; set; } = 1000;
SaveTempDataAttribute.cs (1)
30
public int
Order
{ get; set; }
ValidateAntiForgeryTokenAttribute.cs (1)
40
public 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
46
Order = 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)
270
filterList.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)
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);
MvcCoreLoggerExtensionsTest.cs (5)
173
orderedAuthFilterMock.SetupGet(f => f.
Order
).Returns(-100);
227
orderedResourceFilterMock.SetupGet(f => f.
Order
).Returns(-100);
267
orderedActionFilterMock.SetupGet(f => f.
Order
).Returns(-100);
315
orderedExceptionFilterMock.SetupGet(f => f.
Order
).Returns(-100);
361
orderedResultFilterMock.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.