コード例 #1
0
ファイル: Reference.cs プロジェクト: Jondisaurus/Schoolwork
 public System.IAsyncResult BeginConversionRate(TransTraveler.ConverterService.Currency FromCurrency, TransTraveler.ConverterService.Currency ToCurrency, System.AsyncCallback callback, object asyncState)
 {
     object[] _args = new object[2];
     _args[0] = FromCurrency;
     _args[1] = ToCurrency;
     System.IAsyncResult _result = base.BeginInvoke("ConversionRate", _args, callback, asyncState);
     return(_result);
 }
コード例 #2
0
ファイル: Reference.cs プロジェクト: Jondisaurus/Schoolwork
 public void ConversionRateAsync(TransTraveler.ConverterService.Currency FromCurrency, TransTraveler.ConverterService.Currency ToCurrency, object userState)
 {
     if ((this.onBeginConversionRateDelegate == null))
     {
         this.onBeginConversionRateDelegate = new BeginOperationDelegate(this.OnBeginConversionRate);
     }
     if ((this.onEndConversionRateDelegate == null))
     {
         this.onEndConversionRateDelegate = new EndOperationDelegate(this.OnEndConversionRate);
     }
     if ((this.onConversionRateCompletedDelegate == null))
     {
         this.onConversionRateCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnConversionRateCompleted);
     }
     base.InvokeAsync(this.onBeginConversionRateDelegate, new object[] {
         FromCurrency,
         ToCurrency
     }, this.onEndConversionRateDelegate, this.onConversionRateCompletedDelegate, userState);
 }
コード例 #3
0
ファイル: Reference.cs プロジェクト: Jondisaurus/Schoolwork
 private System.IAsyncResult OnBeginConversionRate(object[] inValues, System.AsyncCallback callback, object asyncState)
 {
     TransTraveler.ConverterService.Currency FromCurrency = ((TransTraveler.ConverterService.Currency)(inValues[0]));
     TransTraveler.ConverterService.Currency ToCurrency   = ((TransTraveler.ConverterService.Currency)(inValues[1]));
     return(((TransTraveler.ConverterService.CurrencyConvertorSoap)(this)).BeginConversionRate(FromCurrency, ToCurrency, callback, asyncState));
 }
コード例 #4
0
ファイル: Reference.cs プロジェクト: Jondisaurus/Schoolwork
 public void ConversionRateAsync(TransTraveler.ConverterService.Currency FromCurrency, TransTraveler.ConverterService.Currency ToCurrency)
 {
     this.ConversionRateAsync(FromCurrency, ToCurrency, null);
 }
コード例 #5
0
ファイル: Reference.cs プロジェクト: Jondisaurus/Schoolwork
 System.IAsyncResult TransTraveler.ConverterService.CurrencyConvertorSoap.BeginConversionRate(TransTraveler.ConverterService.Currency FromCurrency, TransTraveler.ConverterService.Currency ToCurrency, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginConversionRate(FromCurrency, ToCurrency, callback, asyncState));
 }