Ejemplo n.º 1
0
 protected internal override void InitializeFromHistory(IEnumerable <IEvent> eventHistory)
 {
     _state = new ElectionState(eventHistory);
 }
Ejemplo n.º 2
0
 public Election()
 {
     _state = new ElectionState(NoEvents);
 }
Ejemplo n.º 3
0
 public Election(ElectionState state)
 {
     _state = state;
 }
Ejemplo n.º 4
0
 protected internal override void InitializeFromHistory(IEnumerable<IEvent> eventHistory)
 {
     _state = new ElectionState(eventHistory);
 }
Ejemplo n.º 5
0
 public Election()
 {
     _state = new ElectionState(NoEvents);
 }
Ejemplo n.º 6
0
 public Election(ElectionState state)
 {
     _state = state;
 }