private object[] OnEndGetData(System.IAsyncResult result) { Silvelight2Angular.Silverlight.BackendServiceReference.BaseEntity retVal = ((Silvelight2Angular.Silverlight.BackendServiceReference.ICommand)(this)).EndGetData(result); return(new object[] { retVal }); }
public System.IAsyncResult BeginSave(Silvelight2Angular.Silverlight.BackendServiceReference.BaseEntity entity, System.AsyncCallback callback, object asyncState) { object[] _args = new object[1]; _args[0] = entity; System.IAsyncResult _result = base.BeginInvoke("Save", _args, callback, asyncState); return(_result); }
public void SaveAsync(Silvelight2Angular.Silverlight.BackendServiceReference.BaseEntity entity, object userState) { if ((this.onBeginSaveDelegate == null)) { this.onBeginSaveDelegate = new BeginOperationDelegate(this.OnBeginSave); } if ((this.onEndSaveDelegate == null)) { this.onEndSaveDelegate = new EndOperationDelegate(this.OnEndSave); } if ((this.onSaveCompletedDelegate == null)) { this.onSaveCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSaveCompleted); } base.InvokeAsync(this.onBeginSaveDelegate, new object[] { entity }, this.onEndSaveDelegate, this.onSaveCompletedDelegate, userState); }
public Silvelight2Angular.Silverlight.BackendServiceReference.BaseEntity EndGetData(System.IAsyncResult result) { object[] _args = new object[0]; Silvelight2Angular.Silverlight.BackendServiceReference.BaseEntity _result = ((Silvelight2Angular.Silverlight.BackendServiceReference.BaseEntity)(base.EndInvoke("GetData", _args, result))); return(_result); }
public void SaveAsync(Silvelight2Angular.Silverlight.BackendServiceReference.BaseEntity entity) { this.SaveAsync(entity, null); }
private System.IAsyncResult OnBeginSave(object[] inValues, System.AsyncCallback callback, object asyncState) { Silvelight2Angular.Silverlight.BackendServiceReference.BaseEntity entity = ((Silvelight2Angular.Silverlight.BackendServiceReference.BaseEntity)(inValues[0])); return(((Silvelight2Angular.Silverlight.BackendServiceReference.ICommand)(this)).BeginSave(entity, callback, asyncState)); }
System.IAsyncResult Silvelight2Angular.Silverlight.BackendServiceReference.ICommand.BeginSave(Silvelight2Angular.Silverlight.BackendServiceReference.BaseEntity entity, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginSave(entity, callback, asyncState)); }