14 references to MatchResults
Microsoft.AspNetCore.Rewrite (8)
ApacheModRewrite\ConditionEvaluator.cs (1)
53
return new
MatchResults
(condResult.Success, prevBackReferences);
IISUrlRewrite\ConditionEvaluator.cs (1)
46
return new
MatchResults
(condResult!.Success, prevBackReferences);
MatchResults.cs (2)
10
public static readonly MatchResults EmptySuccess = new
MatchResults
(success: true);
11
public static readonly MatchResults EmptyFailure = new
MatchResults
(success: false);
UrlMatches\ExactMatch.cs (1)
24
return new
MatchResults
(success, new BackReferenceCollection(pattern));
UrlMatches\IsDirectoryMatch.cs (1)
16
return new
MatchResults
(success: res != Negate);
UrlMatches\IsFileMatch.cs (1)
16
return new
MatchResults
(success: res != Negate);
UrlMatches\RegexMatch.cs (1)
21
return new
MatchResults
(success: res.Success != Negate, new BackReferenceCollection(res.Groups));
Microsoft.AspNetCore.Rewrite.Tests (6)
IISUrlRewrite\InputParserTests.cs (2)
180
return new
MatchResults
(match.Success, new BackReferenceCollection(match.Groups));
186
return new
MatchResults
(match.Success, new BackReferenceCollection(match.Groups));
IISUrlRewrite\ServerVariableTests.cs (2)
162
return new
MatchResults
(match.Success, new BackReferenceCollection(match.Groups));
168
return new
MatchResults
(match.Success, new BackReferenceCollection(match.Groups));
PatternSegments\ConditionMatchSegmentTests.cs (1)
32
return new
MatchResults
(match.Success, new BackReferenceCollection(match.Groups));
PatternSegments\RuleMatchSegmentTests.cs (1)
31
return new
MatchResults
(match.Success, new BackReferenceCollection(match.Groups));