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