Esempio n. 1
0
 /// <summary>
 /// 更新
 /// </summary>
 /// <param name="info"></param>
 public void Update(GoodsBlockWarpInfo info)
 {
     info.CheckNotNull(nameof(info));
     ApplyEvent(new GoodsBlockWarpUpdatedEvent(info));
 }
Esempio n. 2
0
 public GoodsBlockWarp(Guid id, GoodsBlockWarpInfo info) : base(id)
 {
     info.CheckNotNull(nameof(info));
     ApplyEvent(new GoodsBlockWarpCreatedEvent(info));
 }