public override ICancellableAsyncResult BeginCommit(AsyncCallback callback, object state) { Commit(); ICancellableAsyncResult result = new CompletedCancellableAsyncResult(state); if (callback != null) { callback.Invoke(result); } return result; }
public override ICancellableAsyncResult BeginCommit(AsyncCallback callback, object state) { Commit(); ICancellableAsyncResult result = new CompletedCancellableAsyncResult(state); if (callback != null) { callback.Invoke(result); } return(result); }