Exemplo n.º 1
0
 /// <summary>
 /// Check the state of this instance.
 ///
 /// Exception will be raised if state is not as expected.
 /// </summary>
 /// <param name="state">Expected state</param>
 protected void CheckState(EEnvState state)
 {
     this.state.CheckState(state);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Update the state of this instance.
 /// </summary>
 /// <param name="state">Updated State</param>
 protected void UpdateState(EEnvState state)
 {
     this.state.State = state;
 }