FastMoq
Search Results for

    Show / Hide Table of Contents

    Interface IMockingProviderCapabilities

    Describes optional features a concrete mocking provider supports so the framework can adapt behavior.

    Namespace: FastMoq.Providers
    Assembly: FastMoq.Abstractions.dll
    Syntax
    public interface IMockingProviderCapabilities

    Properties

    SupportsCallBase

    Gets a value indicating whether the provider can call through to base implementations.

    Declaration
    bool SupportsCallBase { get; }
    Property Value
    Type Description
    bool

    SupportsInvocationTracking

    Gets a value indicating whether the provider can track performed invocations for verification.

    Declaration
    bool SupportsInvocationTracking { get; }
    Property Value
    Type Description
    bool

    SupportsLoggerCapture

    Gets a value indicating whether the provider can capture logger invocations through framework helpers.

    Declaration
    bool SupportsLoggerCapture { get; }
    Property Value
    Type Description
    bool

    SupportsProtectedMembers

    Gets a value indicating whether the provider can configure or verify protected members.

    Declaration
    bool SupportsProtectedMembers { get; }
    Property Value
    Type Description
    bool

    SupportsSetupAllProperties

    Gets a value indicating whether the provider can automatically back settable properties.

    Declaration
    bool SupportsSetupAllProperties { get; }
    Property Value
    Type Description
    bool

    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 00:16 UTC