FastMoq
Search Results for

    Show / Hide Table of Contents

    Interface IFastMock<T>

    Generic variant for convenience strongly typing Instance.

    Inherited Members
    IFastMock.MockedType
    IFastMock.NativeMock
    IFastMock.Reset()
    Namespace: FastMoq.Providers
    Assembly: FastMoq.Abstractions.dll
    Syntax
    public interface IFastMock<T> : IFastMock where T : class
    Type Parameters
    Name Description
    T

    Properties

    Instance

    Gets the usable mocked instance with its concrete type.

    Declaration
    T Instance { get; }
    Property Value
    Type Description
    T

    Extension Methods

    IFastMockMoqExtensions.AsMoq(IFastMock)
    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?)
    IFastMockMoqExtensions.AsMoq<T>(IFastMock<T>)
    IFastMockMoqExtensions.Protected<T>(IFastMock<T>)
    IFastMockMoqExtensions.SetupGet<T, TProperty>(IFastMock<T>, Expression<Func<T, TProperty>>)
    IFastMockMoqExtensions.SetupSequence<T, TResult>(IFastMock<T>, Expression<Func<T, TResult>>)
    IFastMockMoqExtensions.Setup<T>(IFastMock<T>, Expression<Action<T>>)
    IFastMockMoqExtensions.Setup<T, TResult>(IFastMock<T>, Expression<Func<T, TResult>>)
    IFastMockNSubstituteExtensions.AsNSubstitute<T>(IFastMock<T>)
    IFastMockNSubstituteExtensions.ClearReceivedCalls<T>(IFastMock<T>)
    IFastMockNSubstituteExtensions.DidNotReceiveWithAnyArgs<T>(IFastMock<T>)
    IFastMockNSubstituteExtensions.DidNotReceive<T>(IFastMock<T>)
    IFastMockNSubstituteExtensions.ReceivedWithAnyArgs<T>(IFastMock<T>)
    IFastMockNSubstituteExtensions.Received<T>(IFastMock<T>)
    IFastMockNSubstituteExtensions.Received<T>(IFastMock<T>, int)
    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