Class UnitBuyoff
A unit buyoff.
[DataContract(IsReference = true)]
[KnownType(typeof(Buyoff))]
[KnownType(typeof(UnitStation))]
public class UnitBuyoff
- Inheritance
-
UnitBuyoff
- Inherited Members
Constructors
UnitBuyoff(int, DateTime, bool, Buyoff, UnitStation)
Initializes a new instance of the UnitBuyoff class.
public UnitBuyoff(int unitBuyoffId, DateTime buyoffDateTime, bool isSet, Buyoff buyoff, UnitStation unitStation)
Parameters
unitBuyoffIdintThe unique identifier for this unit buyoff.
buyoffDateTimeDateTimeThe date and time at which this buyoff was set or cleared.
isSetboolWhether this buyoff was set or cleared.
buyoffBuyoffThe buyoff.
unitStationUnitStationThe unit station at which this occurred.
Exceptions
- ArgumentNullException
buyoffis null.- ArgumentNullException
unitStationis null.
Properties
Buyoff
Gets the buyoff.
[DataMember]
public Buyoff Buyoff { get; }
Property Value
BuyoffDateTime
Gets the date and time at which this buyoff was set or cleared.
[DataMember]
public DateTime BuyoffDateTime { get; }
Property Value
IsSet
Gets whether this buyoff was set or cleared.
[DataMember]
public bool IsSet { get; }
Property Value
UnitBuyoffId
Gets the unique identifier for this unit buyoff.
[DataMember]
public int UnitBuyoffId { get; }
Property Value
UnitStation
Gets the unit station at which this occurred.
[DataMember]
public UnitStation UnitStation { get; }