private void Apply(IAccountEvent e) { _state.Mutate(e); _changes.Add(e); }
public void Mutate(IAccountEvent e) { this.When(e as dynamic); }
public void Apply(IAccountEvent e) { RedirectToWhen <AccountAggregateReader> .Invoke(this, e); _observer.OnNext(e); }
public static void Add(IAccountEvent e) { Events.Add(e); }
public void Apply(IAccountEvent e) { RedirectToWhen<AccountAggregateReader>.Invoke(this, e); _observer.OnNext(e); }