Esempio n. 1
0
        protected void Raise(DomainEvent @event)
        {
            @event.ChangeDetails(Id, DateTime.UtcNow, @event.GetType().Name);

            (this as IHasDomainEvents).Raise(@event);
        }
Esempio n. 2
0
 void IHasDomainEvents.Raise(DomainEvent evnt)
 => _events.Add(evnt);