Class ChangeUnitComponentChange
Information about a component change.
[DataContract]
public class ChangeUnitComponentChange
- Inheritance
-
ChangeUnitComponentChange
- Inherited Members
Constructors
ChangeUnitComponentChange(UnitComponent)
Initializes a new instance of the ChangeUnitComponentChange class.
public ChangeUnitComponentChange(UnitComponent unitComponent)
Parameters
unitComponentUnitComponentThe component information.
Exceptions
- ArgumentNullException
unitComponentis null.
Properties
ReasonInvalid
Gets or sets the optional reason that the component is invalid, if it is invalid.
[DataMember]
public string? ReasonInvalid { get; set; }
Property Value
UnitComponent
Gets the component information.
[DataMember]
public UnitComponent UnitComponent { get; }