StateValue Class

Class to hold a state name:value pair.

Definition

Namespace: ASCOM.Common.DeviceInterfaces
Assembly: ASCOM.Common (in ASCOM.Common.dll) Version: 4.0.0+77e18c564bf9ecdb0ef30166e894390d1b7d077c
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

Supported in: .NET Standard 2.0, .NET 8 .NET 9. .NET 10

See Also