FastMoq
Search Results for

    Show / Hide Table of Contents

    Interface IDbContextMock

    Namespace: FastMoq.Models
    Assembly: FastMoq.Database.dll
    Syntax
    public interface IDbContextMock

    Methods

    SetupDbContextSetMethods(PropertyInfo)

    Declaration
    void SetupDbContextSetMethods(PropertyInfo propertyInfo)
    Parameters
    Type Name Description
    PropertyInfo propertyInfo

    SetupDbSetProperties(PropertyInfo, object)

    Declaration
    void SetupDbSetProperties(PropertyInfo propertyInfo, object value)
    Parameters
    Type Name Description
    PropertyInfo propertyInfo
    object value

    SetupDbSetPropertyGet(PropertyInfo, object)

    Declaration
    void SetupDbSetPropertyGet(PropertyInfo propertyInfo, object value)
    Parameters
    Type Name Description
    PropertyInfo propertyInfo
    object value

    SetupSetMethod(Type, Delegate, Type[]?, object?[]?)

    Declaration
    void SetupSetMethod(Type setType, Delegate propValueDelegate, Type[]? types = null, object?[]? parameters = null)
    Parameters
    Type Name Description
    Type setType
    Delegate propValueDelegate
    Type[] types
    object[] parameters

    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-08 12:38 UTC