12 references to EmptySuccess
Microsoft.AspNetCore.Rewrite (12)
UrlMatches\FileSizeMatch.cs (1)
16
return fileInfo.Exists && fileInfo.Length > 0 ? MatchResults.
EmptySuccess
: MatchResults.EmptyFailure;
UrlMatches\IntegerMatch.cs (6)
47
return compValue == _value ? MatchResults.
EmptySuccess
: MatchResults.EmptyFailure;
49
return compValue > _value ? MatchResults.
EmptySuccess
: MatchResults.EmptyFailure;
51
return compValue >= _value ? MatchResults.
EmptySuccess
: MatchResults.EmptyFailure;
53
return compValue < _value ? MatchResults.
EmptySuccess
: MatchResults.EmptyFailure;
55
return compValue <= _value ? MatchResults.
EmptySuccess
: MatchResults.EmptyFailure;
57
return compValue != _value ? MatchResults.
EmptySuccess
: MatchResults.EmptyFailure;
UrlMatches\StringMatch.cs (5)
31
return string.Compare(input, _value, _stringComparison) == 0 ? MatchResults.
EmptySuccess
: MatchResults.EmptyFailure;
33
return string.Compare(input, _value, _stringComparison) > 0 ? MatchResults.
EmptySuccess
: MatchResults.EmptyFailure;
35
return string.Compare(input, _value, _stringComparison) >= 0 ? MatchResults.
EmptySuccess
: MatchResults.EmptyFailure;
37
return string.Compare(input, _value, _stringComparison) < 0 ? MatchResults.
EmptySuccess
: MatchResults.EmptyFailure;
39
return string.Compare(input, _value, _stringComparison) <= 0 ? MatchResults.
EmptySuccess
: MatchResults.EmptyFailure;