/////////////////////////////////////////////////////////////////// // __use__30.snippet0.call - __use__30.snippet0.call.iftype /////////////////////////////////////////////////////////////////// void _joinAlphaHandler(object[] args) { JoinAlpha message = new JoinAlpha(args); SimpleDialogPort.Alert((dialog.AlertRequest)message); Decrement(args.Length); }
/////////////////////////////////////////////////////////////////// // program.activity.Start+start // snippet.element // [(expr - __use__3.snippet0.snippet.noop - __use__3.snippet0.snippet.expr - __use__3.snippet0.snippet.join)] - __use__3.snippet0.call - __use__3.snippet0.call.iftype /////////////////////////////////////////////////////////////////// public IEnumerator <ccr.ITask> RunHandler() { Increment(); dialog.AlertRequest request = new dialog.AlertRequest(); request.Message = @"Click OK to start"; Increment(); Activate( ccr.Arbiter.Choice( SimpleDialogPort.Alert(request), OnAlertSuccess, delegate(soap.Fault fault) { base.FaultHandler(fault, @"SimpleDialogPort.Alert(request)"); Decrement(); } ) ); Decrement(); yield return(WaitUntilComplete()); }