Class InvocationOptions
Controls how FastMoq fills method parameters when invoking delegates or reflected methods.
Inherited Members
Namespace: FastMoq
Assembly: FastMoq.Core.dll
Syntax
public sealed class InvocationOptions
Properties
FallbackToNonPublicMethods
Controls whether FastMoq may fall back from a public-method search to a non-public-method search.
When not set, FastMoq uses the current DefaultFallbackToNonPublicMethods policy.
Compatibility helpers such as Strict and preset methods can update that default policy.
Declaration
public bool? FallbackToNonPublicMethods { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
OptionalParameterResolution
Controls how optional parameters are resolved when values are not explicitly provided.
Declaration
public OptionalParameterResolutionMode OptionalParameterResolution { get; set; }
Property Value
| Type | Description |
|---|---|
| OptionalParameterResolutionMode |