示例#1
0
 private void Handle(ThirdCurrencyCreatedEvent evnt)
 {
     _info            = evnt.Info;
     _importedAmount  = 0;
     _maxImportAmount = 0;
     _importLogs      = new List <ImportLogInfo>();
 }
示例#2
0
 public void Update(ThirdCurrencyInfo info)
 {
     ApplyEvent(new ThirdCurrencyUpdatedEvent(info));
 }
示例#3
0
 private void Handle(ThirdCurrencyDeletedEvent evnt)
 {
     _info       = null;
     _importLogs = null;
 }
示例#4
0
        private IList <ImportLogInfo> _importLogs; //银行卡

        public ThirdCurrency(Guid id, ThirdCurrencyInfo info) : base(id)
        {
            ApplyEvent(new ThirdCurrencyCreatedEvent(info));
        }
示例#5
0
 private void Handle(ThirdCurrencyUpdatedEvent evnt)
 {
     _info = evnt.Info;
 }