public System.IAsyncResult BeginAddNewBankAccount(Microsoft.Samples.NLayerApp.Presentation.Silverlight.ServiceAgents.Proxies.BankingModule.BankAccountDTO bankAccount, System.AsyncCallback callback, object asyncState) { object[] _args = new object[1]; _args[0] = bankAccount; System.IAsyncResult _result = base.BeginInvoke("AddNewBankAccount", _args, callback, asyncState); return(_result); }
public System.IAsyncResult BeginPerformTransfer(Microsoft.Samples.NLayerApp.Presentation.Silverlight.ServiceAgents.Proxies.BankingModule.BankAccountDTO from, Microsoft.Samples.NLayerApp.Presentation.Silverlight.ServiceAgents.Proxies.BankingModule.BankAccountDTO to, decimal amount, System.AsyncCallback callback, object asyncState) { object[] _args = new object[3]; _args[0] = from; _args[1] = to; _args[2] = amount; System.IAsyncResult _result = base.BeginInvoke("PerformTransfer", _args, callback, asyncState); return(_result); }
public void AddNewBankAccountAsync(Microsoft.Samples.NLayerApp.Presentation.Silverlight.ServiceAgents.Proxies.BankingModule.BankAccountDTO bankAccount, object userState) { if ((this.onBeginAddNewBankAccountDelegate == null)) { this.onBeginAddNewBankAccountDelegate = new BeginOperationDelegate(this.OnBeginAddNewBankAccount); } if ((this.onEndAddNewBankAccountDelegate == null)) { this.onEndAddNewBankAccountDelegate = new EndOperationDelegate(this.OnEndAddNewBankAccount); } if ((this.onAddNewBankAccountCompletedDelegate == null)) { this.onAddNewBankAccountCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnAddNewBankAccountCompleted); } base.InvokeAsync(this.onBeginAddNewBankAccountDelegate, new object[] { bankAccount }, this.onEndAddNewBankAccountDelegate, this.onAddNewBankAccountCompletedDelegate, userState); }
public void PerformTransferAsync(Microsoft.Samples.NLayerApp.Presentation.Silverlight.ServiceAgents.Proxies.BankingModule.BankAccountDTO from, Microsoft.Samples.NLayerApp.Presentation.Silverlight.ServiceAgents.Proxies.BankingModule.BankAccountDTO to, decimal amount, object userState) { if ((this.onBeginPerformTransferDelegate == null)) { this.onBeginPerformTransferDelegate = new BeginOperationDelegate(this.OnBeginPerformTransfer); } if ((this.onEndPerformTransferDelegate == null)) { this.onEndPerformTransferDelegate = new EndOperationDelegate(this.OnEndPerformTransfer); } if ((this.onPerformTransferCompletedDelegate == null)) { this.onPerformTransferCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnPerformTransferCompleted); } base.InvokeAsync(this.onBeginPerformTransferDelegate, new object[] { from, to, amount }, this.onEndPerformTransferDelegate, this.onPerformTransferCompletedDelegate, userState); }
public Microsoft.Samples.NLayerApp.Presentation.Silverlight.ServiceAgents.Proxies.BankingModule.BankAccountDTO EndAddNewBankAccount(System.IAsyncResult result) { object[] _args = new object[0]; Microsoft.Samples.NLayerApp.Presentation.Silverlight.ServiceAgents.Proxies.BankingModule.BankAccountDTO _result = ((Microsoft.Samples.NLayerApp.Presentation.Silverlight.ServiceAgents.Proxies.BankingModule.BankAccountDTO)(base.EndInvoke("AddNewBankAccount", _args, result))); return(_result); }
public void PerformTransferAsync(Microsoft.Samples.NLayerApp.Presentation.Silverlight.ServiceAgents.Proxies.BankingModule.BankAccountDTO from, Microsoft.Samples.NLayerApp.Presentation.Silverlight.ServiceAgents.Proxies.BankingModule.BankAccountDTO to, decimal amount) { this.PerformTransferAsync(from, to, amount, null); }
private System.IAsyncResult OnBeginPerformTransfer(object[] inValues, System.AsyncCallback callback, object asyncState) { Microsoft.Samples.NLayerApp.Presentation.Silverlight.ServiceAgents.Proxies.BankingModule.BankAccountDTO from = ((Microsoft.Samples.NLayerApp.Presentation.Silverlight.ServiceAgents.Proxies.BankingModule.BankAccountDTO)(inValues[0])); Microsoft.Samples.NLayerApp.Presentation.Silverlight.ServiceAgents.Proxies.BankingModule.BankAccountDTO to = ((Microsoft.Samples.NLayerApp.Presentation.Silverlight.ServiceAgents.Proxies.BankingModule.BankAccountDTO)(inValues[1])); decimal amount = ((decimal)(inValues[2])); return(((Microsoft.Samples.NLayerApp.Presentation.Silverlight.ServiceAgents.Proxies.BankingModule.IBankingModuleService)(this)).BeginPerformTransfer(from, to, amount, callback, asyncState)); }
System.IAsyncResult Microsoft.Samples.NLayerApp.Presentation.Silverlight.ServiceAgents.Proxies.BankingModule.IBankingModuleService.BeginPerformTransfer(Microsoft.Samples.NLayerApp.Presentation.Silverlight.ServiceAgents.Proxies.BankingModule.BankAccountDTO from, Microsoft.Samples.NLayerApp.Presentation.Silverlight.ServiceAgents.Proxies.BankingModule.BankAccountDTO to, decimal amount, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginPerformTransfer(from, to, amount, callback, asyncState)); }
public void AddNewBankAccountAsync(Microsoft.Samples.NLayerApp.Presentation.Silverlight.ServiceAgents.Proxies.BankingModule.BankAccountDTO bankAccount) { this.AddNewBankAccountAsync(bankAccount, null); }
private object[] OnEndAddNewBankAccount(System.IAsyncResult result) { Microsoft.Samples.NLayerApp.Presentation.Silverlight.ServiceAgents.Proxies.BankingModule.BankAccountDTO retVal = ((Microsoft.Samples.NLayerApp.Presentation.Silverlight.ServiceAgents.Proxies.BankingModule.IBankingModuleService)(this)).EndAddNewBankAccount(result); return(new object[] { retVal }); }
private System.IAsyncResult OnBeginAddNewBankAccount(object[] inValues, System.AsyncCallback callback, object asyncState) { Microsoft.Samples.NLayerApp.Presentation.Silverlight.ServiceAgents.Proxies.BankingModule.BankAccountDTO bankAccount = ((Microsoft.Samples.NLayerApp.Presentation.Silverlight.ServiceAgents.Proxies.BankingModule.BankAccountDTO)(inValues[0])); return(((Microsoft.Samples.NLayerApp.Presentation.Silverlight.ServiceAgents.Proxies.BankingModule.IBankingModuleService)(this)).BeginAddNewBankAccount(bankAccount, callback, asyncState)); }
System.IAsyncResult Microsoft.Samples.NLayerApp.Presentation.Silverlight.ServiceAgents.Proxies.BankingModule.IBankingModuleService.BeginAddNewBankAccount(Microsoft.Samples.NLayerApp.Presentation.Silverlight.ServiceAgents.Proxies.BankingModule.BankAccountDTO bankAccount, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginAddNewBankAccount(bankAccount, callback, asyncState)); }