コード例 #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);
 }