Class DefaultPlatformModeDetector
- Namespace
- Splat
- Assembly
- Splat.Drawing.dll
Detects if we are in design mode or unit test mode based on the current platform.
public class DefaultPlatformModeDetector : IPlatformModeDetector
- Inheritance
-
DefaultPlatformModeDetector
- Implements
- Extension Methods
Constructors
DefaultPlatformModeDetector()
public DefaultPlatformModeDetector()
Methods
InDesignMode()
Gets a value indicating whether the current library or application is running in a GUI design mode tool.
public bool? InDesignMode()
Returns
- bool?
If we are currently running in design mode.