public virtual void Route(object @event) { if (@event == null) { throw new Exception(); } _router.Route(@event); }
protected void ApplyChange(object @event, bool isNew) { if (@event == null) { throw new ArgumentNullException(nameof(@event)); } _router.Route(@event); if (isNew) { _changes.Add(@event); Version++; } }