Class OperatingModeChangingEventArgs
- Namespace
- Loehnert.Lisrt.OperatingMode
- Assembly
- Loehnert.Lisrt.dll
Provides data for a cancel able operating mode changing event.
public class OperatingModeChangingEventArgs : CancelEventArgs
- Inheritance
-
OperatingModeChangingEventArgs
- Inherited Members
Constructors
OperatingModeChangingEventArgs(IOperatingMode, IOperatingMode)
Initializes a new instance of the OperatingModeChangingEventArgs class.
public OperatingModeChangingEventArgs(IOperatingMode currenMode, IOperatingMode newMode)
Parameters
currenMode
IOperatingModeThe old (current) operating mode.
newMode
IOperatingModeThe new operating mode.
Properties
CurrentMode
Gets the old (current) operating mode.
public IOperatingMode CurrentMode { get; }
Property Value
NewMode
Gets the new operating mode.
public IOperatingMode NewMode { get; }