コード例 #1
0
 public SiteStateContext(ISiteState currentState)
 {
     CurrentState = currentState;
 }
コード例 #2
0
 /// <summary>
 /// Default site state is set to Draft
 /// </summary>
 public SiteStateContext()
 {
     CurrentState = new DraftState(this);
 }