Enum Switches
- Namespace
- Moq
- Assembly
- Moq.dll
Represents a switch, or a combination of switches, that can be either enabled or disabled. When set via Switches or Switches, they determine how a mock will operate.
[Flags]
public enum Switches
Fields
CollectDiagnosticFileInfoForSetups = 1When enabled, specifies that source file information should be collected for each setup. This results in more helpful error messages, but may affect performance.
Default = 0The default set of switches. The switches covered by this enumeration value may change between different versions of Moq.