コード例 #1
0
 public Personal(IClient client) : base(client)
 {
     ListAccounts           = new PersonalListAccounts(client);
     NewAccount             = new PersonalNewAccount(client);
     UnlockAccount          = new PersonalUnlockAccount(client);
     LockAccount            = new PersonalLockAccount(client);
     SignAndSendTransaction = new PersonalSignAndSendTransaction(client);
 }
コード例 #2
0
ファイル: Personal.cs プロジェクト: Nethereum/Nethereum
 public Personal(IClient client) : base(client)
 {
     ListAccounts = new PersonalListAccounts(client);
     NewAccount = new PersonalNewAccount(client);
     UnlockAccount = new PersonalUnlockAccount(client);
     LockAccount = new PersonalLockAccount(client);
     SignAndSendTransaction = new PersonalSignAndSendTransaction(client);
 }
コード例 #3
0
        public override async Task <string[]> ExecuteAsync(IClient client)
        {
            var personalListAccounts = new PersonalListAccounts(client);

            var accounts = personalListAccounts.SendRequestAsync().Result;

            return(accounts);
        }
コード例 #4
0
 public Personal(IClient client) : base(client)
 {
     ListAccounts  = new PersonalListAccounts(client);
     NewAccount    = new PersonalNewAccount(client);
     UnlockAccount = new PersonalUnlockAccount(client);
 }