Table of Contents

Class State

Namespace
Acuit.Pinpoint.Services.Entities
Assembly
Acuit.Pinpoint.Services.Entities.dll

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

stateId short

The unique identifier for this state.

name string

The state name.

Exceptions

ArgumentNullException

name is null.

Properties

IsProduced

Gets or sets whether this state represents a produced unit.

[DataMember(Order = 2)]
public bool IsProduced { get; set; }

Property Value

bool

Name

Gets the state name.

[DataMember]
public string Name { get; }

Property Value

string

StateId

Gets the unique identifier for this state.

[DataMember]
public short StateId { get; }

Property Value

short