12 references to EmptySuccess
Microsoft.AspNetCore.Rewrite (12)
UrlMatches\FileSizeMatch.cs (1)
16return fileInfo.Exists && fileInfo.Length > 0 ? MatchResults.EmptySuccess : MatchResults.EmptyFailure;
UrlMatches\IntegerMatch.cs (6)
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;