Class ModeDetector
- Namespace
- Splat
- Assembly
- Splat.dll
A helper class which detects if we are currently running via a unit test or design mode.
- Inheritance
-
Mode
Detector
Methods
InUnitTestRunner()
Gets a value indicating whether we are currently running from a unit test.
Returns
- bool
If we are currently running from a unit test.
OverrideModeDetector(IModeDetector)
Overrides the mode detector with one of your own provided ones.
Parameters
modeDetectorIModeDetector The mode detector to use.