Enum BuiltInTypeResolutionFlags
Specifies which built-in framework and utility types Mocker may resolve automatically.
Namespace: FastMoq
Assembly: FastMoq.Core.dll
Syntax
[Flags]
public enum BuiltInTypeResolutionFlags
Remarks
These flags control FastMoq's built-in object creation behavior for well-known types that are commonly needed during unit and integration-style test setup.
The values can be combined to enable multiple categories at once, or compared against the provided preset values such as StrictCompatibilityDefaults and LenientDefaults.
Use None to disable all built-in resolutions and require explicit registrations, or use All to enable every built-in category currently supported.
Fields
| Name | Description |
|---|---|
| All | Enables every built-in type resolution category currently supported. |
| DbContext | Enables automatic resolution for database context types. |
| FileSystem | Enables automatic resolution for file system abstractions. |
| HttpClient | Enables automatic resolution for HttpClient instances. |
| LenientDefaults | Enables the lenient preset used for maximum built-in convenience. |
| None | Disables all built-in type resolution. |
| StrictCompatibilityDefaults | Enables the conservative compatibility preset used for stricter legacy behavior. |
| Uri | Enables automatic resolution for Uri values. |