예제 #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;
 }