private void Handle(ThirdCurrencyCreatedEvent evnt) { _info = evnt.Info; _importedAmount = 0; _maxImportAmount = 0; _importLogs = new List <ImportLogInfo>(); }
public void Update(ThirdCurrencyInfo info) { ApplyEvent(new ThirdCurrencyUpdatedEvent(info)); }
private void Handle(ThirdCurrencyDeletedEvent evnt) { _info = null; _importLogs = null; }
private IList <ImportLogInfo> _importLogs; //银行卡 public ThirdCurrency(Guid id, ThirdCurrencyInfo info) : base(id) { ApplyEvent(new ThirdCurrencyCreatedEvent(info)); }
private void Handle(ThirdCurrencyUpdatedEvent evnt) { _info = evnt.Info; }