Beispiel #1
0
 /// <summary>
 /// 更新
 /// </summary>
 /// <param name="info"></param>
 public void Update(OfflineStoreInfo info)
 {
     info.CheckNotNull(nameof(info));
     ApplyEvent(new OfflineStoreUpdatedEvent(info));
 }
Beispiel #2
0
 public OfflineStore(Guid id, Guid userId, OfflineStoreInfo info) : base(id)
 {
     info.CheckNotNull(nameof(info));
     ApplyEvent(new OfflineStoreCreatedEvent(userId, info));
 }