12 references to TestResourceFilterAction
Microsoft.AspNetCore.Mvc.Core.Test (12)
Filters\MiddlewareFilterTest.cs (12)
59
var resourceFilter1 = new TestResourceFilter(
TestResourceFilterAction
.Passthrough);
61
var exceptionThrowingResourceFilter = new TestResourceFilter(
TestResourceFilterAction
.ThrowException);
105
var resourceFilter1 = new TestResourceFilter(
TestResourceFilterAction
.Passthrough);
108
var exceptionThrowingResourceFilter = new TestResourceFilter(
TestResourceFilterAction
.ThrowException);
144
var resourceFilter1 = new TestResourceFilter(
TestResourceFilterAction
.Passthrough);
146
var exceptionThrowingResourceFilter = new TestResourceFilter(
TestResourceFilterAction
.ThrowException);
191
var resourceFilter1 = new TestResourceFilter(
TestResourceFilterAction
.Passthrough);
194
var exceptionThrowingResourceFilter = new TestResourceFilter(
TestResourceFilterAction
.ThrowException);
469
private readonly
TestResourceFilterAction
_action;
470
public TestResourceFilter(
TestResourceFilterAction
action)
479
if (_action ==
TestResourceFilterAction
.ThrowException)
484
else if (_action ==
TestResourceFilterAction
.Passthrough)