2 implementations of IRequestSizePolicy
Microsoft.AspNetCore.Mvc.Core (2)
Filters\DisableRequestSizeLimitFilter.cs (1)
13
internal sealed partial class DisableRequestSizeLimitFilter : IAuthorizationFilter,
IRequestSizePolicy
Filters\RequestSizeLimitFilter.cs (1)
14
internal sealed partial class RequestSizeLimitFilter : IAuthorizationFilter,
IRequestSizePolicy
6 references to IRequestSizePolicy
Microsoft.AspNetCore.Mvc.Core (6)
Filters\DisableRequestSizeLimitFilter.cs (3)
36
var
effectivePolicy = context.FindEffectivePolicy<
IRequestSizePolicy
>();
39
Log.NotMostEffectiveFilter(_logger, GetType(), effectivePolicy.GetType(), typeof(
IRequestSizePolicy
));
Filters\RequestSizeLimitFilter.cs (3)
38
var
effectivePolicy = context.FindEffectivePolicy<
IRequestSizePolicy
>();
41
Log.NotMostEffectiveFilter(_logger, GetType(), effectivePolicy.GetType(), typeof(
IRequestSizePolicy
));