Esempio n. 1
0
 public NewKeySetViewModel(WalletViewModel walletViewModel, Network network)
 {
     _Network       = network;
     _Parent        = walletViewModel;
     KeyCount       = 1;
     SignatureCount = 1;
     UpdateExtPubKeys();
 }
 internal void AddWallet(WalletModel model, bool save)
 {
     if (!this.Wallets.Any(w => w.Name.Equals(model.Name, StringComparison.OrdinalIgnoreCase)))
     {
         var wallet = new WalletViewModel(model.Name, this);
         this.Wallets.Add(wallet);
         if (save)
         {
             Save();
         }
     }
     this.Refresh.Execute();
 }
 public KeySetViewModel(WalletViewModel parent, KeySetData keyset)
 {
     _Keyset = keyset;
     _Name   = keyset.KeySet.Name;
     _Wallet = parent;
 }
 public NewAddressCommand(WalletViewModel parent)
 {
     this._Parent = parent;
 }