Beispiel #1
0
        void OperationStateObserver.Failure(Exception exception, OperationContext context)
        {
            context.NotifyOnCurrentState("Failure", Runnability.Runnable(), ErrorInfo.From(exception));

            _operationState = _operationStatesFactory.RunnableState();
        }
Beispiel #2
0
 private void NormalRunnable(OperationContext context, string statusText)
 {
     context.NotifyOnCurrentState(statusText, Runnability.Runnable(), ErrorInfo.None());
     _operationState = _operationStatesFactory.RunnableState();
 }