Пример #1
0
 public bool IsValid(CreditCardDto details)
 {
     object[] results = this.Invoke("IsValid", new object[] {
         details
     });
     return((bool)(results[0]));
 }
Пример #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]));
 }
Пример #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);
 }
Пример #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);
 }
Пример #5
0
 /// <remarks/>
 public void PayAsync(CreditCardDto from, BankAccountDto to, double amountDollar)
 {
     this.PayAsync(from, to, amountDollar, null);
 }
Пример #6
0
 /// <remarks/>
 public void IsValidAsync(CreditCardDto details)
 {
     this.IsValidAsync(details, null);
 }