FastMoq
Search Results for

    Show / Hide Table of Contents

    Enum TimesSpecMode

    Identifies the verification strategy represented by a TimesSpec value.

    Namespace: FastMoq.Providers
    Assembly: FastMoq.Abstractions.dll
    Syntax
    public enum TimesSpecMode

    Fields

    Name Description
    AtLeast

    Verifies that the invocation occurred at least the specified number of times.

    AtLeastOnce

    Verifies that the invocation occurred at least once.

    AtMost

    Verifies that the invocation occurred at most the specified number of times.

    Exactly

    Verifies that the invocation occurred an exact number of times.

    Never

    Verifies that the invocation never occurred.

    Extension Methods

    TestClassExtensions.GetMemberName<TimesSpecMode, TValue>(TimesSpecMode, Expression<Func<TimesSpecMode, TValue>>)
    TestClassExtensions.GetMember<TimesSpecMode, TValue>(TimesSpecMode, Expression<Func<TimesSpecMode, TValue>>)
    TestClassExtensions.GetProperty<TimesSpecMode>(TimesSpecMode, string)
    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-08 12:38 UTC