private bool OnStage2Complete(IAsyncResult lastResult, WorkflowApplication instance, bool isStillSync)
            {
                if (lastResult != null)
                {
                    instance.EndInternalPersist(lastResult);
                }

                return(true);
            }
Beispiel #2
0
            /// <summary>
            /// Called when [stage2 complete].
            /// </summary>
            /// <param name="lastResult">The last result.</param>
            /// <param name="instance">The instance.</param>
            /// <param name="isStillSync">if set to <c>true</c> [is still synchronize].</param>
            /// <returns><c>true</c> if XXXX, <c>false</c> otherwise.</returns>
            private bool OnStage2Complete(IAsyncResult?lastResult, WorkflowApplication instance, bool isStillSync)
            {
                if (lastResult != null)
                {
                    instance.EndInternalPersist(lastResult);
                }

                instance.invokeCompletedCallback?.Invoke();

                return(true);
            }