Class PlatformModeDetector
- Namespace
- Splat
- Assembly
- Splat.Drawing.dll
Detects various properties about a platform.
public static class PlatformModeDetector
- Inheritance
-
PlatformModeDetector
Methods
InDesignMode()
Gets a value indicating whether we are currently running from within a GUI design editor.
public static bool InDesignMode()
Returns
- bool
If we are currently running from design mode.
OverrideModeDetector(IPlatformModeDetector)
Overrides the mode detector with one of your own provided ones.
public static void OverrideModeDetector(IPlatformModeDetector modeDetector)
Parameters
modeDetector
IPlatformModeDetectorThe mode detector to use.