40 references to RuleResult
Microsoft.AspNetCore.Rewrite (32)
ApacheModRewrite\RuleBuilder.cs (3)
219
var
termination = last ?
RuleResult
.SkipRemainingRules :
RuleResult
.ContinueRules;
IISUrlRewrite\UrlRewriteFileParser.cs (4)
195
action = new NoneAction(stopProcessing ?
RuleResult
.SkipRemainingRules :
RuleResult
.ContinueRules);
214
action = new RewriteAction(stopProcessing ?
RuleResult
.SkipRemainingRules :
RuleResult
.ContinueRules, urlPattern, appendQuery);
RedirectRule.cs (1)
49
context.Result =
RuleResult
.EndResponse;
RedirectToHttpsRule.cs (1)
37
context.Result =
RuleResult
.EndResponse;
RedirectToNonWwwRule.cs (2)
42
context.Result =
RuleResult
.ContinueRules;
48
context.Result =
RuleResult
.ContinueRules;
RedirectToWwwHelper.cs (1)
56
context.Result =
RuleResult
.EndResponse;
RedirectToWwwRule.cs (2)
42
context.Result =
RuleResult
.ContinueRules;
48
context.Result =
RuleResult
.ContinueRules;
RewriteContext.cs (2)
34
/// should be taken. See <see cref="
RuleResult
"/>
36
public
RuleResult
Result { get; set; }
RewriteMiddleware.cs (5)
61
Result =
RuleResult
.ContinueRules
67
if (rewriteContext.Result ==
RuleResult
.EndResponse)
99
case
RuleResult
.ContinueRules:
102
case
RuleResult
.EndResponse:
107
case
RuleResult
.SkipRemainingRules:
RewriteRule.cs (1)
47
context.Result =
RuleResult
.SkipRemainingRules;
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\NoneAction.cs (2)
8
public
RuleResult
Result { get; }
10
public NoneAction(
RuleResult
result)
UrlActions\RedirectAction.cs (1)
79
context.Result =
RuleResult
.EndResponse;
UrlActions\RewriteAction.cs (3)
11
public
RuleResult
Result { get; }
17
RuleResult
result,
33
RuleResult
result,
Microsoft.AspNetCore.Rewrite.Tests (8)
IISUrlRewrite\FileParserTests.cs (1)
192
new RewriteAction(
RuleResult
.ContinueRules, new InputParser().ParseInputString(url, uriMatchPart), queryStringAppend: false),
IISUrlRewrite\MiddleWareTests.cs (1)
726
RuleResult
.SkipRemainingRules,
IISUrlRewrite\UrlRewriteApplicationTests.cs (3)
28
Assert.Equal(
RuleResult
.SkipRemainingRules, context.Result);
47
Assert.Equal(
RuleResult
.ContinueRules, context.Result);
70
Assert.Equal(
RuleResult
.ContinueRules, context.Result);
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);