Ejemplo n.º 1
0
            ///////////////////////////////////////////////////////////////////
            // __use__30.snippet0.snippet.noop - __use__30.snippet0.snippet.expr - __use__30.snippet0.snippet.join
            ///////////////////////////////////////////////////////////////////

            public IEnumerator <ccr.ITask> RunHandler(Microsoft.Dss.Services.Samples.WaitForDriveCompletion.Proxy.Replace message)
            {
                Increment();

                Increment();
                _joinAlphaPorts[0].Post(message.Body.LastStatus);

                Decrement();

                yield return(WaitUntilComplete());
            }
Ejemplo n.º 2
0
        IEnumerator <ccr.ITask> WaitForDriveCompletionReplaceHandler(Microsoft.Dss.Services.Samples.WaitForDriveCompletion.Proxy.Replace message)
        {
            OnWaitForDriveCompletionReplaceHandler handler = new OnWaitForDriveCompletionReplaceHandler(this, Environment.TaskQueue);

            return(handler.RunHandler(message));
        }