FastMoq
Search Results for

    Show / Hide Table of Contents

    Class FastInvocationMatcher

    Describes a parsed method invocation with FastMoq argument matchers.

    Inheritance
    object
    FastInvocationMatcher
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: FastMoq.Providers
    Assembly: FastMoq.Abstractions.dll
    Syntax
    public sealed class FastInvocationMatcher

    Properties

    Arguments

    Gets the parsed argument matchers in parameter order.

    Declaration
    public IReadOnlyList<FastArgumentMatcher> Arguments { get; }
    Property Value
    Type Description
    IReadOnlyList<FastArgumentMatcher>

    Method

    Gets the target method represented by the parsed invocation.

    Declaration
    public MethodInfo Method { get; }
    Property Value
    Type Description
    MethodInfo

    Methods

    Matches(MethodInfo, IReadOnlyList<object?>)

    Determines whether the supplied method and argument values satisfy this invocation matcher.

    Declaration
    public bool Matches(MethodInfo method, IReadOnlyList<object?> actualArguments)
    Parameters
    Type Name Description
    MethodInfo method

    The runtime method to compare.

    IReadOnlyList<object> actualArguments

    The runtime argument values to compare.

    Returns
    Type Description
    bool

    true when the runtime invocation matches; otherwise false.

    Extension Methods

    ObjectExtensions.RaiseIfNull<T>(T?, string?, string?, int?, string?)
    TestClassExtensions.GetFieldValue<TObject>(TObject, string, TObject?)
    TestClassExtensions.GetField<TObject>(TObject, string)
    TestClassExtensions.GetMemberName<T, TValue>(T, Expression<Func<T, TValue>>)
    TestClassExtensions.GetMember<T, TValue>(T, Expression<Func<T, TValue>>)
    TestClassExtensions.GetMethodValue<TObject>(TObject, string, object?, params object[])
    TestClassExtensions.GetMethod<TObject>(TObject, string)
    TestClassExtensions.GetPropertyValue<TObject>(TObject, string, object?)
    TestClassExtensions.GetProperty<TObject>(TObject, string)
    TestClassExtensions.SetFieldValue<TObject>(TObject, string, object?)
    TestClassExtensions.SetPropertyValue<TObject>(TObject, string, object?)
    MockerHttpMoqExtensions.SetupHttpMessage(object, Func<HttpResponseMessage>, Expression?, Expression?)
    MockerHttpMoqExtensions.SetupMessageAsync<TMock, TReturn>(object, Expression<Func<TMock, Task<TReturn>>>, Func<TReturn>)
    MockerHttpMoqExtensions.SetupMessageProtectedAsync<TMock, TReturn>(object, string, Func<TReturn>, params object?[]?)
    MockerHttpMoqExtensions.SetupMessageProtected<TMock, TReturn>(object, string, Func<TReturn>, params object?[]?)
    MockerHttpMoqExtensions.SetupMessage<TMock, TReturn>(object, Expression<Func<TMock, TReturn>>, Func<TReturn>)
    TestClassExtensions.GetFieldInfo<TType>(object, string)
    TestClassExtensions.GetFieldValue<T>(object?, FieldInfo)
    TestClassExtensions.GetFieldValue<T, TType>(object, string)
    In this article
    Back to top
    Generated 2026-04-29 03:53 UTC