Class State
A state.
[DataContract(IsReference = true)]
public class State
- Inheritance
-
State
- Inherited Members
Constructors
State(short, string)
Initializes a new instance of the State class.
public State(short stateId, string name)
Parameters
Exceptions
- ArgumentNullException
nameis null.
Properties
IsProduced
Gets or sets whether this state represents a produced unit.
[DataMember(Order = 2)]
public bool IsProduced { get; set; }
Property Value
Name
Gets the state name.
[DataMember]
public string Name { get; }
Property Value
StateId
Gets the unique identifier for this state.
[DataMember]
public short StateId { get; }