Beispiel #1
0
        public static DomainEvent Create(Guid aggregateRootId, int version, DateTime createdDate)
        {
            DomainEvent domainEvent = new DomainEvent(aggregateRootId, version, createdDate, null);

            return(domainEvent);
        }