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