Moq.Contrib.HttpClient.RequestMatcher.Is(System.Predicate)

Here are the examples of the csharp api Moq.Contrib.HttpClient.RequestMatcher.Is(System.Predicate) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 Source : RequestMatcher.cs
with MIT License
from maxkagamine

public static HttpRequestMessage Is(Predicate<HttpRequestMessage> match)
        {
            if (match == null)
                throw new ArgumentNullException(nameof(match));

            return Match.Create(match, () => Is(match));
        }