Namespace FastMoq.Models
Classes
CapturedLogDiagnosticsEntry
Describes a captured log entry stored on a Mocker instance.
ConstructorHistory
Class ConstructorHistory.
Implements the IReadOnlyDictionary<TKey, TValue>
ConstructorModel
Interface IHistoryModel used for identifying objects that can be put in the history model.
ConstructorSelectionDiagnosticsEntry
Describes a constructor selection recorded in ConstructorHistory.
DbContextMock<TEntity>
Wrapper for Mock. Implements the Moq.Mock<T>
DbSetMock<TEntity>
Class DbSetMock. Implements the Moq.Mock<T>
FastMoqNonVoidSetupPhrase<T>
Class FastMoqNonVoidSetupPhrase.
InstanceFunction
Stores a late-bound factory delegate that can create an instance of a specific runtime type.
InstanceFunction<T>
Stores a strongly typed factory delegate that creates instances of T.
InstanceModel
Class InstanceModel represents a type and how to create that type's instance. Implements the InstanceModel
InstanceModel<TClass>
Class InstanceModel represents a type and how to create that type's instance. Implements the InstanceModel
InstanceRegistrationDiagnosticsEntry
Describes an instance registration currently configured on a Mocker instance.
LogEntry
Captured provider-agnostic logger event emitted by an ILogger mock configured through FastMoq.
MockAsyncEnumerable<T>
Wraps an enumerable or expression tree so EF Core async query APIs can enumerate it through IAsyncEnumerable<T>.
MockAsyncEnumerator<T>
Adapts a synchronous enumerator to IAsyncEnumerator<T> for EF Core async query testing.
MockDbContextOptions<T>
Legacy Moq wrapper for DbContextOptions<TContext> used by older DbContext mock creation paths.
MockModel
Contains provider-agnostic mock and Type information.
MockModel<T>
Generic mock model wrapper (provider-first, Moq legacy compatible).
MockerDiagnosticsSnapshot
Represents a provider-neutral diagnostics snapshot captured from a Mocker instance.
ObservableExceptionLog
Exposes a read-only, observable view of exception messages captured by a Mocker during resolution and invocation.
ObservableLogEntries
Exposes a read-only, observable view of LogEntry values captured by FastMoq logger interception.
TrackedMockDiagnosticsEntry
Describes a tracked mock currently registered in a Mocker instance.
Interfaces
IDbContextMock
Describes the DbContext-specific setup operations exposed by FastMoq's legacy DbContext mock wrappers.
IDbContextMock<TEntity>
Describes a strongly typed FastMoq DbContext mock wrapper.
IDbSetMock
Describes the setup operations used to prepare DbSet mocks for synchronous and asynchronous query execution.
IHistoryModel
Interface IHistoryModel used for identifying objects that can be put in the history model.
IInstanceModel
Interface IHistoryModel used for identifying objects that can be put in the history model.