Beispiel #1
0
        public override async Task RunExampleAsync()
        {
            GetAccountBalance client = new GetAccountBalance(BASIC_AUTH_CONFIGURATION);

            AccountBalance accountBalance = await client.ExecuteAsync();

            Console.WriteLine("Account balance: ");
            Console.WriteLine(JsonConvert.SerializeObject(accountBalance, new JsonSerializerSettings {
                Formatting = Formatting.Indented
            }));
        }
 /// <remarks/>
 public void GetAccountBalanceAsync(GetAccountBalance GetAccountBalance1)
 {
     this.GetAccountBalanceAsync(GetAccountBalance1, null);
 }
 /// <remarks/>
 public void GetAccountBalanceAsync(GetAccountBalance GetAccountBalance1, object userState)
 {
     if ((this.GetAccountBalanceOperationCompleted == null)) {
         this.GetAccountBalanceOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetAccountBalanceOperationCompleted);
     }
     this.InvokeAsync("GetAccountBalance", new object[] {
                 GetAccountBalance1}, this.GetAccountBalanceOperationCompleted, userState);
 }
 /// <remarks/>
 public System.IAsyncResult BeginGetAccountBalance(GetAccountBalance GetAccountBalance1, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("GetAccountBalance", new object[] {
                 GetAccountBalance1}, callback, asyncState);
 }