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); }
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); }
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)); }
public void ConversionRateAsync(TransTraveler.ConverterService.Currency FromCurrency, TransTraveler.ConverterService.Currency ToCurrency) { this.ConversionRateAsync(FromCurrency, ToCurrency, null); }
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)); }