Class ReaderOperationEventArgs
- Namespace
- TechnologySolutions.Rfid
- Assembly
- TechnologySolutions.Rfid.Operations.dll
EventArgs to report ReaderOperationState
public class ReaderOperationEventArgs : EventArgs
- Inheritance
-
ReaderOperationEventArgs
- Inherited Members
Constructors
ReaderOperationEventArgs(ReaderOperationState)
Initializes a new instance of the ReaderOperationEventsArgs class
public ReaderOperationEventArgs(ReaderOperationState state)
Parameters
state
ReaderOperationStateThe state of the reader operation
Properties
Active
Gets a ReaderOperationEventArgs with the state set to Active
public static ReaderOperationEventArgs Active { get; }
Property Value
Disabled
Gets a ReaderOperationEventArgs with the state set to Disabled
public static ReaderOperationEventArgs Disabled { get; }
Property Value
Inactive
Gets a ReaderOperationEventArgs with the state set to Inactive
public static ReaderOperationEventArgs Inactive { get; }
Property Value
State
Gets the state of the operation
public ReaderOperationState State { get; }
Property Value
Methods
FromState(ReaderOperationState)
Returns the appropriate ReaderOperationEventArgs based on the state
public static ReaderOperationEventArgs FromState(ReaderOperationState state)
Parameters
state
ReaderOperationStateThe specified state
Returns
Exceptions
- ArgumentOutOfRangeException
If state is not a defined enum value