13 references to EndResponse
Microsoft.AspNetCore.Rewrite (10)
RedirectRule.cs (1)
49
context.Result = RuleResult.
EndResponse
;
RedirectToHttpsRule.cs (1)
37
context.Result = RuleResult.
EndResponse
;
RedirectToWwwHelper.cs (1)
56
context.Result = RuleResult.
EndResponse
;
RewriteMiddleware.cs (2)
67
if (rewriteContext.Result == RuleResult.
EndResponse
)
102
case RuleResult.
EndResponse
:
UrlActions\AbortAction.cs (1)
13
context.Result = RuleResult.
EndResponse
;
UrlActions\CustomResponseAction.cs (1)
45
context.Result = RuleResult.
EndResponse
;
UrlActions\ForbiddenAction.cs (1)
13
context.Result = RuleResult.
EndResponse
;
UrlActions\GoneAction.cs (1)
13
context.Result = RuleResult.
EndResponse
;
UrlActions\RedirectAction.cs (1)
79
context.Result = RuleResult.
EndResponse
;
Microsoft.AspNetCore.Rewrite.Tests (3)
UrlActions\AbortActionTests.cs (1)
18
Assert.Equal(RuleResult.
EndResponse
, context.Result);
UrlActions\ForbiddenActionTests.cs (1)
20
Assert.Equal(RuleResult.
EndResponse
, context.Result);
UrlActions\GoneActionTests.cs (1)
19
Assert.Equal(RuleResult.
EndResponse
, context.Result);