Esempio n. 1
0
 /// <summary>
 /// Invoke handler to change state of aggregate in response to event.
 /// Event may be an old event from the event store, or may be an event triggered
 /// during the lifetime of this instance.
 /// </summary>
 /// <param name="event">An event which should be invoked</param>
 protected internal virtual void Invoke(IEvent @event)
 {
     RedirectToWhen.InvokeEventOptional(this, @event);
 }
Esempio n. 2
0
 protected internal override void Invoke(IEvent @event)
 {
     RedirectToWhen.InvokeEventOptional(State, @event);
 }