StateValue Class

Class to hold a state name:value pair.

Definition

Namespace: ASCOM.Common.DeviceInterfaces
Assembly: ASCOM.Common (in ASCOM.Common.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public class StateValue : IStateValue
Inheritance
Object    StateValue
Implements
IStateValue

Constructors

StateValue Create a new state value object
StateValue(DateTime) Create a StateValue object whose Name property is "TimeStamp" and whose Value property is the supplied date-time value.
StateValue(String, Object) Create a new state value object with the given name and value

Properties

Name State name
Value State value

Version Information

.NET Standard

Supported in: 2.0

See Also