Class MockerDiagnosticsExtensions
Provides provider-neutral diagnostics helpers over existing FastMoq state.
Inherited Members
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. |