Esempio n. 1
0
        public AccountTest()
        {
            var appsettings = DILocator.Resolve <IAppSettings>();

            account = new Account()
            {
                Address = appsettings.GetValue <string>("address"),
                Name    = appsettings.GetValue <string>("account")
            };
        }
Esempio n. 2
0
        public TransactionTest()
        {
            var appsettings = DILocator.Resolve <IAppSettings>();

            From = new Transaction(
                appsettings.GetValue <string>("transactionFromAccount"),
                appsettings.GetValue <string>("transactionToAddress"),
                appsettings.GetDecimalValue("transactionAmount"),
                appsettings.GetValue <string>("transactionComment"),
                appsettings.GetValue <string>("transactionCommentTo"));
        }
Esempio n. 3
0
 public BaseTest()
 {
     Settings    = DILocator.Resolve <IAppSettings>();
     this.client = DILocator.Resolve <IVergeClient>();
 }