예제 #1
0
파일: Wallet.cs 프로젝트: zanderphh/Shop
 /// <summary>
 /// 提交充值申请
 /// </summary>
 /// <param name="rechargeApplyId"></param>
 /// <param name="info"></param>
 public void ApplyRecharge(Guid rechargeApplyId, RechargeApplyInfo info)
 {
     info.CheckNotNull(nameof(info));
     ApplyEvent(new RechargeApplyCreatedEvent(rechargeApplyId, info, RechargeApplyStatus.Placed));
 }
예제 #2
0
 public RechargeApplyCreatedEvent(Guid rechargeApplyId, RechargeApplyInfo info, RechargeApplyStatus status)
 {
     RechargeApplyId = rechargeApplyId;
     Info            = info;
     Status          = status;
 }