Class OperatingModeManagerExtensions
- Namespace
- Loehnert.Lisrt.OperatingMode
- Assembly
- Loehnert.Lisrt.dll
Extensions for the IOperatingModeManager.
public static class OperatingModeManagerExtensions
- Inheritance
-
OperatingModeManagerExtensions
- Inherited Members
Methods
ExistsMode<T>(IOperatingModeManager)
Gets a value indicating whether the manager contains any mode which is T
.
public static bool ExistsMode<T>(this IOperatingModeManager operatingModeManager) where T : IOperatingMode
Parameters
operatingModeManager
IOperatingModeManagerThe IOperatingModeManager with the depending modes.
Returns
- bool
True, if any mode is of type
T
.
Type Parameters
T
IOperatingMode to look for.