protected internal override void InitializeFromHistory(IEnumerable <IEvent> eventHistory) { _state = new ElectionState(eventHistory); }
public Election() { _state = new ElectionState(NoEvents); }
public Election(ElectionState state) { _state = state; }
protected internal override void InitializeFromHistory(IEnumerable<IEvent> eventHistory) { _state = new ElectionState(eventHistory); }