Exemplo n.º 1
0
 public NewKeySetViewModel(WalletViewModel walletViewModel, Network network)
 {
     _Network       = network;
     _Parent        = walletViewModel;
     KeyCount       = 1;
     SignatureCount = 1;
     UpdateExtPubKeys();
 }
Exemplo n.º 2
0
 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();
 }
Exemplo n.º 3
0
 public KeySetViewModel(WalletViewModel parent, KeySetData keyset)
 {
     _Keyset = keyset;
     _Name   = keyset.KeySet.Name;
     _Wallet = parent;
 }
Exemplo n.º 4
0
 public NewAddressCommand(WalletViewModel parent)
 {
     this._Parent = parent;
 }