Exemple #1
0
 private void ApplyEvent(Chronos.Coins.Events.WalletCreated e)
 {
     Id   = e.Address;
     Coin = e.Coin;
 }
 public WalletInfo Handle(Chronos.Coins.Events.WalletCreated e, WalletInfo state)
 {
     state.Address = e.Address;
     state.Asset   = new Asset(e.Coin, e.Coin, Asset.Type.Currency);
     return(state);
 }