コード例 #1
0
 protected internal override void InitializeFromHistory(IEnumerable <IEvent> eventHistory)
 {
     _state = new ElectionState(eventHistory);
 }
コード例 #2
0
 public Election()
 {
     _state = new ElectionState(NoEvents);
 }
コード例 #3
0
 public Election(ElectionState state)
 {
     _state = state;
 }
コード例 #4
0
 protected internal override void InitializeFromHistory(IEnumerable<IEvent> eventHistory)
 {
     _state = new ElectionState(eventHistory);
 }
コード例 #5
0
 public Election()
 {
     _state = new ElectionState(NoEvents);
 }
コード例 #6
0
 public Election(ElectionState state)
 {
     _state = state;
 }