Esempio n. 1
0
 public bool IsValid(CreditCardDto details)
 {
     object[] results = this.Invoke("IsValid", new object[] {
         details
     });
     return((bool)(results[0]));
 }
Esempio n. 2
0
 public TransactionDto Pay(CreditCardDto from, BankAccountDto to, double amountDollar)
 {
     object[] results = this.Invoke("Pay", new object[] {
         from,
         to,
         amountDollar
     });
     return((TransactionDto)(results[0]));
 }
Esempio n. 3
0
 /// <remarks/>
 public void IsValidAsync(CreditCardDto details, object userState)
 {
     if ((this.IsValidOperationCompleted == null))
     {
         this.IsValidOperationCompleted = new System.Threading.SendOrPostCallback(this.OnIsValidOperationCompleted);
     }
     this.InvokeAsync("IsValid", new object[] {
         details
     }, this.IsValidOperationCompleted, userState);
 }
Esempio n. 4
0
 /// <remarks/>
 public void PayAsync(CreditCardDto from, BankAccountDto to, double amountDollar, object userState)
 {
     if ((this.PayOperationCompleted == null))
     {
         this.PayOperationCompleted = new System.Threading.SendOrPostCallback(this.OnPayOperationCompleted);
     }
     this.InvokeAsync("Pay", new object[] {
         from,
         to,
         amountDollar
     }, this.PayOperationCompleted, userState);
 }
Esempio n. 5
0
 /// <remarks/>
 public void PayAsync(CreditCardDto from, BankAccountDto to, double amountDollar)
 {
     this.PayAsync(from, to, amountDollar, null);
 }
Esempio n. 6
0
 /// <remarks/>
 public void IsValidAsync(CreditCardDto details)
 {
     this.IsValidAsync(details, null);
 }