Namespace FastMoq.Providers
Classes
FastArg
Provider-neutral argument matcher helpers for FastMoq expression-based setup and verification flows.
FastArgExpressionParser
Parses expression trees that use FastArg markers into provider-neutral matcher metadata.
FastArgumentMatcher
Describes a single parsed FastMoq argument matcher.
FastInvocationMatcher
Describes a parsed method invocation with FastMoq argument matchers.
FastMoqDefaultProviderAttribute
Declares the default FastMoq provider for the current assembly.
FastMoqRegisterProviderAttribute
Registers a FastMoq provider for the current assembly.
MockCreationOptions
Options to influence mock creation in a provider agnostic manner.
MockingProviderRegistrationInfo
Describes a provider registration known to MockingProviderRegistry.
MockingProviderRegistry
Global registry for available mocking providers with support for scoped overrides.
ProviderSelectionDiagnostics
Builds consistent provider-selection guidance for provider-specific FastMoq APIs. This keeps runtime messages aligned across the compatibility surface and provider-specific escape hatches.
Structs
TimesSpec
Provider agnostic verification specification. Uses a single verification mode with an optional count where applicable.
Interfaces
IFastMock
Non generic abstraction for a created mock instance. Prefer Instance and Reset() for provider-first flows, and treat NativeMock as the provider-native escape hatch.
IFastMock<T>
Generic variant for convenience strongly typing Instance.
IMockingProvider
Abstraction implemented by concrete mocking libraries (Moq, NSubstitute, etc.).
IMockingProviderCapabilities
Describes optional features a concrete mocking provider supports so the framework can adapt behavior.
IProviderBoundFastMock
Exposes the concrete provider instance that created the current IFastMock wrapper. Optional provider-extension interfaces can use this to opt into advanced behaviors without forcing every provider through the same surface.
ITrackedMockPropertyConfigurator
Optional provider extension for configuring one property getter on a tracked mock through FastMoq-owned helpers.
Enums
FastArgumentMatcherKind
Identifies the kind of FastMoq argument matcher parsed from an expression.
MockingProviderDiscoveryMode
Controls how MockingProviderRegistry performs automatic provider discovery.
MockingProviderRegistrationSource
Identifies how a provider registration entered MockingProviderRegistry.
TimesSpecMode
Identifies the verification strategy represented by a TimesSpec value.