常用方法
常用方法
常用方法
常用方法
public object CreateFromSnapshotAsync <T>(IAggregateRoot aggregateRoot, IEnumerable <IEvent> events) { aggregateRoot.ApplyEvents(events); return(aggregateRoot); }
public object CreateFromSnapshotAsync <T>(IAggregateRoot aggregateRoot, IEnumerable <IEvent> events) { aggregateRoot.ApplyEvents(events); return(aggregateRoot); }