Class UndefinedOperatingMode
- Namespace
- Loehnert.Lisrt.OperatingMode
- Assembly
- Loehnert.Lisrt.dll
Undefined operating mode for an undefined state.
public class UndefinedOperatingMode : IOperatingMode, IHasKey
- Inheritance
-
UndefinedOperatingMode
- Implements
- Inherited Members
Constructors
UndefinedOperatingMode()
Initializes a new instance of the UndefinedOperatingMode class.
public UndefinedOperatingMode()
Properties
Actions
Gets the actions for handling the operating mode. (The UndefinedOperatingMode has no actions, so an empty Collection<T> will be returned.)
public ICollection<IActionViewModel> Actions { get; }
Property Value
Description
Gets the localized description for the operating mode.
public ITranslation Description { get; }
Property Value
- ITranslation
Icon
Gets the icon.
public Uri Icon { get; }
Property Value
IsSelectable
Gets a value indicating whether the mode is selectable.
public bool IsSelectable { get; }
Property Value
IsSpecial
Gets a value indicating whether the mode is a special one.
public bool IsSpecial { get; }
Property Value
Key
Gets a unique key.
public string Key { get; }
Property Value
Methods
CanEnable()
Gets a value indicating whether the mode can be enabled.
public bool CanEnable()
Returns
- bool
True if it can be enabled. Otherwise false.
Disable()
Disables the mode.
public void Disable()
Enable()
Enables the mode.
public void Enable()