FastMoq
Search Results for

    Show / Hide Table of Contents

    Class MockerDiagnosticsExtensions

    Provides provider-neutral diagnostics helpers over existing FastMoq state.

    Inheritance
    object
    MockerDiagnosticsExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: FastMoq.Extensions
    Assembly: FastMoq.Core.dll
    Syntax
    public static class MockerDiagnosticsExtensions

    Methods

    CreateDiagnosticsSnapshot(Mocker)

    Captures a reusable diagnostics snapshot from the supplied Mocker instance.

    Declaration
    public static MockerDiagnosticsSnapshot CreateDiagnosticsSnapshot(this Mocker mocker)
    Parameters
    Type Name Description
    Mocker mocker

    The current Mocker instance.

    Returns
    Type Description
    MockerDiagnosticsSnapshot

    A provider-neutral diagnostics snapshot built from tracked mocks, constructor history, configured instance registrations, and captured log entries.

    In this article
    Back to top
    Generated 2026-04-29 03:53 UTC