コード例 #1
0
ファイル: AccountTest.cs プロジェクト: shakeshar/verge-dotnet
        public AccountTest()
        {
            var appsettings = DILocator.Resolve <IAppSettings>();

            account = new Account()
            {
                Address = appsettings.GetValue <string>("address"),
                Name    = appsettings.GetValue <string>("account")
            };
        }
コード例 #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"));
        }
コード例 #3
0
ファイル: BaseTest.cs プロジェクト: shakeshar/verge-dotnet
 public BaseTest()
 {
     Settings    = DILocator.Resolve <IAppSettings>();
     this.client = DILocator.Resolve <IVergeClient>();
 }