public Microsoft.XLANGs.Core.StopConditions segment0(Microsoft.XLANGs.Core.StopConditions stopOn) { Microsoft.XLANGs.Core.Segment __seg__ = _segments[0]; Microsoft.XLANGs.Core.Context __ctx__ = (Microsoft.XLANGs.Core.Context)_stateMgrs[0]; __DB_root_0 __ctx0__ = (__DB_root_0)_stateMgrs[0]; __DB_1 __ctx1__ = (__DB_1)_stateMgrs[1]; switch (__seg__.Progress) { case 0: Port_1 = new PortType_1(0, this); Port_2 = new PortType_2(1, this); __ctx__.PrologueCompleted = true; __ctx0__.__subWrapper0 = new Microsoft.XLANGs.Core.SubscriptionWrapper(ActivationSubGuids[0], Port_1, this); if (!PostProgressInc(__seg__, __ctx__, 1)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } if ((stopOn & Microsoft.XLANGs.Core.StopConditions.Initialized) != 0) { return(Microsoft.XLANGs.Core.StopConditions.Initialized); } goto case 1; case 1: __ctx1__ = new __DB_1(this); _stateMgrs[1] = __ctx1__; if (!PostProgressInc(__seg__, __ctx__, 2)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 2; case 2: __ctx0__.StartContext(__seg__, __ctx1__); if (!PostProgressInc(__seg__, __ctx__, 3)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } return(Microsoft.XLANGs.Core.StopConditions.Blocked); case 3: if (!__ctx0__.CleanupAndPrepareToCommit(__seg__)) { return(Microsoft.XLANGs.Core.StopConditions.Blocked); } if (!PostProgressInc(__seg__, __ctx__, 4)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 4; case 4: __ctx1__.Finally(); ServiceDone(__seg__, (Microsoft.XLANGs.Core.Context)_stateMgrs[0]); __ctx0__.OnCommit(); break; } return(Microsoft.XLANGs.Core.StopConditions.Completed); }
public Microsoft.XLANGs.Core.StopConditions segment0(Microsoft.XLANGs.Core.StopConditions stopOn) { Microsoft.XLANGs.Core.Segment __seg__ = _segments[0]; Microsoft.XLANGs.Core.Context __ctx__ = (Microsoft.XLANGs.Core.Context)_stateMgrs[0]; __OrchestrationToBeCalled_1 __ctx1__ = (__OrchestrationToBeCalled_1)_stateMgrs[1]; __OrchestrationToBeCalled_root_0 __ctx0__ = (__OrchestrationToBeCalled_root_0)_stateMgrs[0]; switch (__seg__.Progress) { case 0: SendPort = new SendType(0, this); __ctx__.PrologueCompleted = true; if (!PostProgressInc(__seg__, __ctx__, 1)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } if ((stopOn & Microsoft.XLANGs.Core.StopConditions.Initialized) != 0) { return(Microsoft.XLANGs.Core.StopConditions.Initialized); } goto case 1; case 1: __ctx1__ = new __OrchestrationToBeCalled_1(this); _stateMgrs[1] = __ctx1__; if (!PostProgressInc(__seg__, __ctx__, 2)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 2; case 2: __ctx0__.StartContext(__seg__, __ctx1__); if (!PostProgressInc(__seg__, __ctx__, 3)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } return(Microsoft.XLANGs.Core.StopConditions.Blocked); case 3: if (!__ctx0__.CleanupAndPrepareToCommit(__seg__)) { return(Microsoft.XLANGs.Core.StopConditions.Blocked); } if (!PostProgressInc(__seg__, __ctx__, 4)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 4; case 4: __ctx1__.Finally(); ServiceDone(__seg__, (Microsoft.XLANGs.Core.Context)_stateMgrs[0]); __ctx0__.OnCommit(); break; } return(Microsoft.XLANGs.Core.StopConditions.Completed); }
public Microsoft.XLANGs.Core.StopConditions segment1(Microsoft.XLANGs.Core.StopConditions stopOn) { Microsoft.XLANGs.Core.Envelope __msgEnv__ = null; Microsoft.XLANGs.Core.Segment __seg__ = _segments[1]; Microsoft.XLANGs.Core.Context __ctx__ = (Microsoft.XLANGs.Core.Context)_stateMgrs[1]; __FF_Tab_Orch_1 __ctx1__ = (__FF_Tab_Orch_1)_stateMgrs[1]; __FF_Tab_Orch_root_0 __ctx0__ = (__FF_Tab_Orch_root_0)_stateMgrs[0]; switch (__seg__.Progress) { case 0: __ctx__.PrologueCompleted = true; if ( !PostProgressInc( __seg__, __ctx__, 1 ) ) return Microsoft.XLANGs.Core.StopConditions.Paused; goto case 1; case 1: if ( !PreProgressInc( __seg__, __ctx__, 2 ) ) return Microsoft.XLANGs.Core.StopConditions.Paused; Tracker.FireEvent(__eventLocations[0],__eventData[0],_stateMgrs[1].TrackDataStream ); if (IsDebugged) return Microsoft.XLANGs.Core.StopConditions.InBreakpoint; goto case 2; case 2: if ( !PreProgressInc( __seg__, __ctx__, 3 ) ) return Microsoft.XLANGs.Core.StopConditions.Paused; Tracker.FireEvent(__eventLocations[1],__eventData[1],_stateMgrs[1].TrackDataStream ); if (IsDebugged) return Microsoft.XLANGs.Core.StopConditions.InBreakpoint; goto case 3; case 3: if (!FF_Tab.GetMessageId(__ctx0__.__subWrapper0.getSubscription(this), __seg__, __ctx1__, out __msgEnv__)) return Microsoft.XLANGs.Core.StopConditions.Blocked; if (__ctx1__.__In_msg != null) __ctx1__.UnrefMessage(__ctx1__.__In_msg); __ctx1__.__In_msg = new __messagetype_FF_To_Xml_FF_TAB("In_msg", __ctx1__); __ctx1__.RefMessage(__ctx1__.__In_msg); FF_Tab.ReceiveMessage(0, __msgEnv__, __ctx1__.__In_msg, null, (Microsoft.XLANGs.Core.Context)_stateMgrs[1], __seg__); if (FF_Tab != null) { FF_Tab.Close(__ctx1__, __seg__); FF_Tab = null; } if ( !PostProgressInc( __seg__, __ctx__, 4 ) ) return Microsoft.XLANGs.Core.StopConditions.Paused; goto case 4; case 4: if ( !PreProgressInc( __seg__, __ctx__, 5 ) ) return Microsoft.XLANGs.Core.StopConditions.Paused; { Microsoft.XLANGs.RuntimeTypes.EventData __edata = new Microsoft.XLANGs.RuntimeTypes.EventData(Microsoft.XLANGs.RuntimeTypes.Operation.End | Microsoft.XLANGs.RuntimeTypes.Operation.Receive); __edata.Messages.Add(__ctx1__.__In_msg); __edata.PortName = @"FF_Tab"; Tracker.FireEvent(__eventLocations[2],__edata,_stateMgrs[1].TrackDataStream ); } if (IsDebugged) return Microsoft.XLANGs.Core.StopConditions.InBreakpoint; goto case 5; case 5: if ( !PreProgressInc( __seg__, __ctx__, 6 ) ) return Microsoft.XLANGs.Core.StopConditions.Paused; Tracker.FireEvent(__eventLocations[3],__eventData[2],_stateMgrs[1].TrackDataStream ); if (IsDebugged) return Microsoft.XLANGs.Core.StopConditions.InBreakpoint; goto case 6; case 6: { __messagetype_FF_To_Xml_FF_TAB __DummyMsg = new __messagetype_FF_To_Xml_FF_TAB("DummyMsg", __ctx1__); __DummyMsg.CopyFrom(__ctx1__.__In_msg); if (__ctx1__ != null && __ctx1__.__In_msg != null) { __ctx1__.UnrefMessage(__ctx1__.__In_msg); __ctx1__.__In_msg = null; } if (__ctx1__.__DummyMsg != null) __ctx1__.UnrefMessage(__ctx1__.__DummyMsg); __ctx1__.__DummyMsg = __DummyMsg; __ctx1__.RefMessage(__ctx1__.__DummyMsg); } __ctx1__.__DummyMsg.ConstructionCompleteEvent(false); if ( !PostProgressInc( __seg__, __ctx__, 7 ) ) return Microsoft.XLANGs.Core.StopConditions.Paused; goto case 7; case 7: if ( !PreProgressInc( __seg__, __ctx__, 8 ) ) return Microsoft.XLANGs.Core.StopConditions.Paused; { Microsoft.XLANGs.RuntimeTypes.EventData __edata = new Microsoft.XLANGs.RuntimeTypes.EventData(Microsoft.XLANGs.RuntimeTypes.Operation.End | Microsoft.XLANGs.RuntimeTypes.Operation.Construct); __edata.Messages.Add(__ctx1__.__DummyMsg); Tracker.FireEvent(__eventLocations[4],__edata,_stateMgrs[1].TrackDataStream ); } if (IsDebugged) return Microsoft.XLANGs.Core.StopConditions.InBreakpoint; goto case 8; case 8: if ( !PreProgressInc( __seg__, __ctx__, 9 ) ) return Microsoft.XLANGs.Core.StopConditions.Paused; Tracker.FireEvent(__eventLocations[5],__eventData[3],_stateMgrs[1].TrackDataStream ); if (IsDebugged) return Microsoft.XLANGs.Core.StopConditions.InBreakpoint; goto case 9; case 9: if (!__ctx1__.PrepareToPendingCommit(__seg__)) return Microsoft.XLANGs.Core.StopConditions.Blocked; if ( !PostProgressInc( __seg__, __ctx__, 10 ) ) return Microsoft.XLANGs.Core.StopConditions.Paused; goto case 10; case 10: if ( !PreProgressInc( __seg__, __ctx__, 11 ) ) return Microsoft.XLANGs.Core.StopConditions.Paused; FF_Tab_send.SendMessage(0, __ctx1__.__DummyMsg, null, null, __ctx1__, __seg__ , Microsoft.XLANGs.Core.ActivityFlags.NextActivityPersists ); if (FF_Tab_send != null) { FF_Tab_send.Close(__ctx1__, __seg__); FF_Tab_send = null; } if ((stopOn & Microsoft.XLANGs.Core.StopConditions.OutgoingRqst) != 0) return Microsoft.XLANGs.Core.StopConditions.OutgoingRqst; goto case 11; case 11: if ( !PreProgressInc( __seg__, __ctx__, 12 ) ) return Microsoft.XLANGs.Core.StopConditions.Paused; { Microsoft.XLANGs.RuntimeTypes.EventData __edata = new Microsoft.XLANGs.RuntimeTypes.EventData(Microsoft.XLANGs.RuntimeTypes.Operation.End | Microsoft.XLANGs.RuntimeTypes.Operation.Send); __edata.Messages.Add(__ctx1__.__DummyMsg); __edata.PortName = @"FF_Tab_send"; Tracker.FireEvent(__eventLocations[6],__edata,_stateMgrs[1].TrackDataStream ); } if (__ctx1__ != null && __ctx1__.__DummyMsg != null) { __ctx1__.UnrefMessage(__ctx1__.__DummyMsg); __ctx1__.__DummyMsg = null; } if (IsDebugged) return Microsoft.XLANGs.Core.StopConditions.InBreakpoint; goto case 12; case 12: if ( !PreProgressInc( __seg__, __ctx__, 13 ) ) return Microsoft.XLANGs.Core.StopConditions.Paused; Tracker.FireEvent(__eventLocations[7],__eventData[4],_stateMgrs[1].TrackDataStream ); if (IsDebugged) return Microsoft.XLANGs.Core.StopConditions.InBreakpoint; goto case 13; case 13: if (!__ctx1__.CleanupAndPrepareToCommit(__seg__)) return Microsoft.XLANGs.Core.StopConditions.Blocked; if ( !PostProgressInc( __seg__, __ctx__, 14 ) ) return Microsoft.XLANGs.Core.StopConditions.Paused; goto case 14; case 14: if ( !PreProgressInc( __seg__, __ctx__, 15 ) ) return Microsoft.XLANGs.Core.StopConditions.Paused; __ctx1__.OnCommit(); goto case 15; case 15: __seg__.SegmentDone(); _segments[0].PredecessorDone(this); break; } return Microsoft.XLANGs.Core.StopConditions.Completed; }
public __messagetype_SQl_ins_TypedProcedure_dbo_Usp_name_insert(string msgName, Microsoft.XLANGs.Core.Context ctx) : base(msgName, ctx) { __CreatePartWrappers(); }
public __messagetype_ff_FlatFileSchema(string msgName, Microsoft.XLANGs.Core.Context ctx) : base(msgName, ctx) { __CreatePartWrappers(); }
public Microsoft.XLANGs.Core.StopConditions segment1(Microsoft.XLANGs.Core.StopConditions stopOn) { Microsoft.XLANGs.Core.Envelope __msgEnv__ = null; Microsoft.XLANGs.Core.Segment __seg__ = _segments[1]; Microsoft.XLANGs.Core.Context __ctx__ = (Microsoft.XLANGs.Core.Context)_stateMgrs[1]; __Orch1_root_0 __ctx0__ = (__Orch1_root_0)_stateMgrs[0]; __Orch1_1 __ctx1__ = (__Orch1_1)_stateMgrs[1]; switch (__seg__.Progress) { case 0: __ctx1__.__var1 = default(System.String); __ctx__.PrologueCompleted = true; if (!PostProgressInc(__seg__, __ctx__, 1)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 1; case 1: if (!PreProgressInc(__seg__, __ctx__, 2)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[0], __eventData[0], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 2; case 2: if (!PreProgressInc(__seg__, __ctx__, 3)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[1], __eventData[1], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 3; case 3: if (!Port_1.GetMessageId(__ctx0__.__subWrapper0.getSubscription(this), __seg__, __ctx1__, out __msgEnv__)) { return(Microsoft.XLANGs.Core.StopConditions.Blocked); } if (__ctx1__.__Message_1 != null) { __ctx1__.UnrefMessage(__ctx1__.__Message_1); } __ctx1__.__Message_1 = new __messagetype_Project1_Schema1("Message_1", __ctx1__); __ctx1__.RefMessage(__ctx1__.__Message_1); Port_1.ReceiveMessage(0, __msgEnv__, __ctx1__.__Message_1, null, (Microsoft.XLANGs.Core.Context)_stateMgrs[1], __seg__); if (Port_1 != null) { Port_1.Close(__ctx1__, __seg__); Port_1 = null; } if (!PostProgressInc(__seg__, __ctx__, 4)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 4; case 4: if (!PreProgressInc(__seg__, __ctx__, 5)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } { Microsoft.XLANGs.RuntimeTypes.EventData __edata = new Microsoft.XLANGs.RuntimeTypes.EventData(Microsoft.XLANGs.RuntimeTypes.Operation.End | Microsoft.XLANGs.RuntimeTypes.Operation.Receive); __edata.Messages.Add(__ctx1__.__Message_1); __edata.PortName = @"Port_1"; Tracker.FireEvent(__eventLocations[2], __edata, _stateMgrs[1].TrackDataStream); } if (__ctx1__ != null && __ctx1__.__Message_1 != null) { __ctx1__.UnrefMessage(__ctx1__.__Message_1); __ctx1__.__Message_1 = null; } if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 5; case 5: __ctx1__.__var1 = ""; if (!PostProgressInc(__seg__, __ctx__, 6)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 6; case 6: if (!PreProgressInc(__seg__, __ctx__, 7)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[4], __eventData[2], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 7; case 7: __ctx1__.__var1 = "TEST"; if (__ctx1__ != null) { __ctx1__.__var1 = null; } if (!PostProgressInc(__seg__, __ctx__, 8)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 8; case 8: if (!PreProgressInc(__seg__, __ctx__, 9)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[5], __eventData[3], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 9; case 9: if (!PreProgressInc(__seg__, __ctx__, 10)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[6], __eventData[4], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 10; case 10: { Microsoft.XLANGs.Core.Service svc = new Project2.Orch2(2, InstanceId, this); _stateMgrs[2] = svc; __ctx1__.StartCall(__seg__, svc, __eventLocations[6], null); } if (!PostProgressInc(__seg__, __ctx__, 11)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } return(Microsoft.XLANGs.Core.StopConditions.Blocked); case 11: if (!PreProgressInc(__seg__, __ctx__, 12)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[7], __eventData[5], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 12; case 12: if (!PreProgressInc(__seg__, __ctx__, 13)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[3], __eventData[6], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 13; case 13: if (!__ctx1__.CleanupAndPrepareToCommit(__seg__)) { return(Microsoft.XLANGs.Core.StopConditions.Blocked); } if (!PostProgressInc(__seg__, __ctx__, 14)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 14; case 14: if (!PreProgressInc(__seg__, __ctx__, 15)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } __ctx1__.OnCommit(); goto case 15; case 15: __seg__.SegmentDone(); _segments[0].PredecessorDone(this); break; } return(Microsoft.XLANGs.Core.StopConditions.Completed); }
public Microsoft.XLANGs.Core.StopConditions segment1(Microsoft.XLANGs.Core.StopConditions stopOn) { Microsoft.XLANGs.Core.Envelope __msgEnv__ = null; Microsoft.XLANGs.Core.Segment __seg__ = _segments[1]; Microsoft.XLANGs.Core.Context __ctx__ = (Microsoft.XLANGs.Core.Context)_stateMgrs[1]; ____scope33_2 __ctx2__ = (____scope33_2)_stateMgrs[2]; __Sample1Orchestration_1 __ctx1__ = (__Sample1Orchestration_1)_stateMgrs[1]; __Sample1Orchestration_root_0 __ctx0__ = (__Sample1Orchestration_root_0)_stateMgrs[0]; switch (__seg__.Progress) { case 0: __ctx1__.__SSISApp = default(Microsoft.SqlServer.Dts.Runtime.Application); __ctx1__.__SSISPkg = default(Microsoft.SqlServer.Dts.Runtime.Package); __ctx1__.__SSISVar = default(Microsoft.SqlServer.Dts.Runtime.Variable); __ctx1__.__Sample1Message = null; __ctx__.PrologueCompleted = true; if (!PostProgressInc(__seg__, __ctx__, 1)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 1; case 1: if (!PreProgressInc(__seg__, __ctx__, 2)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[0], __eventData[0], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 2; case 2: if (!PreProgressInc(__seg__, __ctx__, 3)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[1], __eventData[1], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 3; case 3: if (!Sample1Port.GetMessageId(__ctx0__.__subWrapper0.getSubscription(this), __seg__, __ctx1__, out __msgEnv__)) { return(Microsoft.XLANGs.Core.StopConditions.Blocked); } if (__ctx1__.__Sample1Message != null) { __ctx1__.UnrefMessage(__ctx1__.__Sample1Message); } __ctx1__.__Sample1Message = new __messagetype_Sample1_SalesSchema("Sample1Message", __ctx1__); __ctx1__.RefMessage(__ctx1__.__Sample1Message); Sample1Port.ReceiveMessage(0, __msgEnv__, __ctx1__.__Sample1Message, null, (Microsoft.XLANGs.Core.Context)_stateMgrs[1], __seg__); if (!PostProgressInc(__seg__, __ctx__, 4)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 4; case 4: if (!PreProgressInc(__seg__, __ctx__, 5)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } { Microsoft.XLANGs.RuntimeTypes.EventData __edata = new Microsoft.XLANGs.RuntimeTypes.EventData(Microsoft.XLANGs.RuntimeTypes.Operation.End | Microsoft.XLANGs.RuntimeTypes.Operation.Receive); __edata.Messages.Add(__ctx1__.__Sample1Message); __edata.PortName = @"Sample1Port"; Tracker.FireEvent(__eventLocations[2], __edata, _stateMgrs[1].TrackDataStream); } if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 5; case 5: __ctx1__.__SSISApp = new Microsoft.SqlServer.Dts.Runtime.Application(); if (!PostProgressInc(__seg__, __ctx__, 6)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 6; case 6: __ctx1__.__SSISPkg = new Microsoft.SqlServer.Dts.Runtime.Package(); if (!PostProgressInc(__seg__, __ctx__, 7)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 7; case 7: if (!PreProgressInc(__seg__, __ctx__, 8)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[4], __eventData[2], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 8; case 8: __ctx2__ = new ____scope33_2(this); _stateMgrs[2] = __ctx2__; if (!PostProgressInc(__seg__, __ctx__, 9)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 9; case 9: __ctx1__.StartContext(__seg__, __ctx2__); if (!PostProgressInc(__seg__, __ctx__, 10)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } return(Microsoft.XLANGs.Core.StopConditions.Blocked); case 10: if (!PreProgressInc(__seg__, __ctx__, 11)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[9], __eventData[5], _stateMgrs[1].TrackDataStream); __ctx2__.Finally(); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 11; case 11: if (!PreProgressInc(__seg__, __ctx__, 12)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[3], __eventData[6], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 12; case 12: if (!__ctx1__.CleanupAndPrepareToCommit(__seg__)) { return(Microsoft.XLANGs.Core.StopConditions.Blocked); } if (!PostProgressInc(__seg__, __ctx__, 13)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 13; case 13: if (!PreProgressInc(__seg__, __ctx__, 14)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } __ctx1__.OnCommit(); goto case 14; case 14: __seg__.SegmentDone(); _segments[0].PredecessorDone(this); break; } return(Microsoft.XLANGs.Core.StopConditions.Completed); }
public __messagetype_ContosoMessaging_CustomerOrderFlatFile(string msgName, Microsoft.XLANGs.Core.Context ctx) : base(msgName, ctx) { __CreatePartWrappers(); }
public Microsoft.XLANGs.Core.StopConditions segment1(Microsoft.XLANGs.Core.StopConditions stopOn) { Microsoft.XLANGs.Core.Envelope __msgEnv__ = null; Microsoft.XLANGs.Core.Segment __seg__ = _segments[1]; Microsoft.XLANGs.Core.Context __ctx__ = (Microsoft.XLANGs.Core.Context)_stateMgrs[1]; __ProcessPO_root_0 __ctx0__ = (__ProcessPO_root_0)_stateMgrs[0]; __ProcessPO_1 __ctx1__ = (__ProcessPO_1)_stateMgrs[1]; switch (__seg__.Progress) { case 0: __ctx__.PrologueCompleted = true; if (!PostProgressInc(__seg__, __ctx__, 1)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 1; case 1: if (!PreProgressInc(__seg__, __ctx__, 2)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[0], __eventData[0], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 2; case 2: if (!PreProgressInc(__seg__, __ctx__, 3)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[1], __eventData[1], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 3; case 3: if (!rcvPO.GetMessageId(__ctx0__.__subWrapper0.getSubscription(this), __seg__, __ctx1__, out __msgEnv__)) { return(Microsoft.XLANGs.Core.StopConditions.Blocked); } if (__ctx1__.__Po != null) { __ctx1__.UnrefMessage(__ctx1__.__Po); } __ctx1__.__Po = new __messagetype_AFZA_PO_REST_PurchaseOrder("Po", __ctx1__); __ctx1__.RefMessage(__ctx1__.__Po); rcvPO.ReceiveMessage(0, __msgEnv__, __ctx1__.__Po, null, (Microsoft.XLANGs.Core.Context)_stateMgrs[1], __seg__); if (!PostProgressInc(__seg__, __ctx__, 4)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 4; case 4: if (!PreProgressInc(__seg__, __ctx__, 5)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } { Microsoft.XLANGs.RuntimeTypes.EventData __edata = new Microsoft.XLANGs.RuntimeTypes.EventData(Microsoft.XLANGs.RuntimeTypes.Operation.End | Microsoft.XLANGs.RuntimeTypes.Operation.Receive); __edata.Messages.Add(__ctx1__.__Po); __edata.PortName = @"rcvPO"; Tracker.FireEvent(__eventLocations[2], __edata, _stateMgrs[1].TrackDataStream); } if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 5; case 5: if (!PreProgressInc(__seg__, __ctx__, 6)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[3], __eventData[2], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 6; case 6: { __messagetype_AFZA_PO_REST_POResponse __PORersp = new __messagetype_AFZA_PO_REST_POResponse("PORersp", __ctx1__); ApplyTransform(typeof(AFZA.PO.REST.Transform), new object[] { __PORersp.part }, new object[] { __ctx1__.__Po.part }); if (__ctx1__.__PORersp != null) { __ctx1__.UnrefMessage(__ctx1__.__PORersp); } __ctx1__.__PORersp = __PORersp; __ctx1__.RefMessage(__ctx1__.__PORersp); } __ctx1__.__PORersp.ConstructionCompleteEvent(true); if (!PostProgressInc(__seg__, __ctx__, 7)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 7; case 7: if (!PreProgressInc(__seg__, __ctx__, 8)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } { Microsoft.XLANGs.RuntimeTypes.EventData __edata = new Microsoft.XLANGs.RuntimeTypes.EventData(Microsoft.XLANGs.RuntimeTypes.Operation.End | Microsoft.XLANGs.RuntimeTypes.Operation.Construct); __edata.Messages.Add(__ctx1__.__PORersp); __edata.Messages.Add(__ctx1__.__Po); Tracker.FireEvent(__eventLocations[4], __edata, _stateMgrs[1].TrackDataStream); } if (__ctx1__ != null && __ctx1__.__Po != null) { __ctx1__.UnrefMessage(__ctx1__.__Po); __ctx1__.__Po = null; } if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 8; case 8: if (!PreProgressInc(__seg__, __ctx__, 9)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[5], __eventData[3], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 9; case 9: if (!__ctx1__.PrepareToPendingCommit(__seg__)) { return(Microsoft.XLANGs.Core.StopConditions.Blocked); } if (!PostProgressInc(__seg__, __ctx__, 10)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 10; case 10: if (!PreProgressInc(__seg__, __ctx__, 11)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } rcvPO.SendMessage(0, __ctx1__.__PORersp, null, null, __ctx1__, __seg__, Microsoft.XLANGs.Core.ActivityFlags.NextActivityPersists); if (rcvPO != null) { rcvPO.Close(__ctx1__, __seg__); rcvPO = null; } if ((stopOn & Microsoft.XLANGs.Core.StopConditions.OutgoingResp) != 0) { return(Microsoft.XLANGs.Core.StopConditions.OutgoingResp); } goto case 11; case 11: if (!PreProgressInc(__seg__, __ctx__, 12)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } { Microsoft.XLANGs.RuntimeTypes.EventData __edata = new Microsoft.XLANGs.RuntimeTypes.EventData(Microsoft.XLANGs.RuntimeTypes.Operation.End | Microsoft.XLANGs.RuntimeTypes.Operation.Send); __edata.Messages.Add(__ctx1__.__PORersp); __edata.PortName = @"rcvPO"; Tracker.FireEvent(__eventLocations[6], __edata, _stateMgrs[1].TrackDataStream); } if (__ctx1__ != null && __ctx1__.__PORersp != null) { __ctx1__.UnrefMessage(__ctx1__.__PORersp); __ctx1__.__PORersp = null; } if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 12; case 12: if (!PreProgressInc(__seg__, __ctx__, 13)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[7], __eventData[4], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 13; case 13: if (!__ctx1__.CleanupAndPrepareToCommit(__seg__)) { return(Microsoft.XLANGs.Core.StopConditions.Blocked); } if (!PostProgressInc(__seg__, __ctx__, 14)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 14; case 14: if (!PreProgressInc(__seg__, __ctx__, 15)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } __ctx1__.OnCommit(); goto case 15; case 15: __seg__.SegmentDone(); _segments[0].PredecessorDone(this); break; } return(Microsoft.XLANGs.Core.StopConditions.Completed); }
public __messagetype_FF_SQL_INS_Procedure_dbo_requesting(string msgName, Microsoft.XLANGs.Core.Context ctx) : base(msgName, ctx) { __CreatePartWrappers(); }
public __messagetype_Removing_Header_NoHeader(string msgName, Microsoft.XLANGs.Core.Context ctx) : base(msgName, ctx) { __CreatePartWrappers(); }
public QueryMXVISIONLOCQUERYResponse(string msgName, Microsoft.XLANGs.Core.Context ctx) : base(msgName, ctx) { __CreatePartWrappers(); }
public __messagetype_StockQuoteService_StockQuote(string msgName, Microsoft.XLANGs.Core.Context ctx) : base(msgName, ctx) { __CreatePartWrappers(); }
public Microsoft.XLANGs.Core.StopConditions segment1(Microsoft.XLANGs.Core.StopConditions stopOn) { Microsoft.XLANGs.Core.Envelope __msgEnv__ = null; Microsoft.XLANGs.Core.Segment __seg__ = _segments[1]; Microsoft.XLANGs.Core.Context __ctx__ = (Microsoft.XLANGs.Core.Context)_stateMgrs[1]; __QuoteService_root_0 __ctx0__ = (__QuoteService_root_0)_stateMgrs[0]; __QuoteService_1 __ctx1__ = (__QuoteService_1)_stateMgrs[1]; switch (__seg__.Progress) { case 0: __ctx__.PrologueCompleted = true; if (!PostProgressInc(__seg__, __ctx__, 1)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 1; case 1: if (!PreProgressInc(__seg__, __ctx__, 2)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[0], __eventData[0], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 2; case 2: if (!PreProgressInc(__seg__, __ctx__, 3)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[1], __eventData[1], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 3; case 3: if (!Port_1.GetMessageId(__ctx0__.__subWrapper0.getSubscription(this), __seg__, __ctx1__, out __msgEnv__)) { return(Microsoft.XLANGs.Core.StopConditions.Blocked); } if (__ctx1__.__msgQuote != null) { __ctx1__.UnrefMessage(__ctx1__.__msgQuote); } __ctx1__.__msgQuote = new __messagetype_StockQuoteService_StockQuote("msgQuote", __ctx1__); __ctx1__.RefMessage(__ctx1__.__msgQuote); Port_1.ReceiveMessage(0, __msgEnv__, __ctx1__.__msgQuote, null, (Microsoft.XLANGs.Core.Context)_stateMgrs[1], __seg__); if (!PostProgressInc(__seg__, __ctx__, 4)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 4; case 4: if (!PreProgressInc(__seg__, __ctx__, 5)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } { Microsoft.XLANGs.RuntimeTypes.EventData __edata = new Microsoft.XLANGs.RuntimeTypes.EventData(Microsoft.XLANGs.RuntimeTypes.Operation.End | Microsoft.XLANGs.RuntimeTypes.Operation.Receive); __edata.Messages.Add(__ctx1__.__msgQuote); __edata.PortName = @"Port_1"; Tracker.FireEvent(__eventLocations[2], __edata, _stateMgrs[1].TrackDataStream); } if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 5; case 5: if (!PreProgressInc(__seg__, __ctx__, 6)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[3], __eventData[2], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 6; case 6: { __messagetype_StockQuoteService_StockQuote __msgResponse = new __messagetype_StockQuoteService_StockQuote("msgResponse", __ctx1__); __msgResponse.CopyFrom(__ctx1__.__msgQuote); RootService.CommitStateManager.UserCodeCalled = true; __msgResponse.CopyContextPropertiesFrom(__ctx1__.__msgQuote); RootService.CommitStateManager.UserCodeCalled = true; if (__ctx1__ != null && __ctx1__.__msgQuote != null) { __ctx1__.UnrefMessage(__ctx1__.__msgQuote); __ctx1__.__msgQuote = null; } __msgResponse.part.SetDistinguishedField("LastPrice", "29.29"); RootService.CommitStateManager.UserCodeCalled = true; if (__ctx1__.__msgResponse != null) { __ctx1__.UnrefMessage(__ctx1__.__msgResponse); } __ctx1__.__msgResponse = __msgResponse; __ctx1__.RefMessage(__ctx1__.__msgResponse); } __ctx1__.__msgResponse.ConstructionCompleteEvent(false); if (!PostProgressInc(__seg__, __ctx__, 7)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 7; case 7: if (!PreProgressInc(__seg__, __ctx__, 8)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } { Microsoft.XLANGs.RuntimeTypes.EventData __edata = new Microsoft.XLANGs.RuntimeTypes.EventData(Microsoft.XLANGs.RuntimeTypes.Operation.End | Microsoft.XLANGs.RuntimeTypes.Operation.Construct); __edata.Messages.Add(__ctx1__.__msgResponse); Tracker.FireEvent(__eventLocations[4], __edata, _stateMgrs[1].TrackDataStream); } if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 8; case 8: if (!PreProgressInc(__seg__, __ctx__, 9)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[5], __eventData[3], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 9; case 9: if (!__ctx1__.PrepareToPendingCommit(__seg__)) { return(Microsoft.XLANGs.Core.StopConditions.Blocked); } if (!PostProgressInc(__seg__, __ctx__, 10)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 10; case 10: if (!PreProgressInc(__seg__, __ctx__, 11)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Port_1.SendMessage(0, __ctx1__.__msgResponse, null, null, __ctx1__, __seg__, Microsoft.XLANGs.Core.ActivityFlags.NextActivityPersists); if (Port_1 != null) { Port_1.Close(__ctx1__, __seg__); Port_1 = null; } if ((stopOn & Microsoft.XLANGs.Core.StopConditions.OutgoingResp) != 0) { return(Microsoft.XLANGs.Core.StopConditions.OutgoingResp); } goto case 11; case 11: if (!PreProgressInc(__seg__, __ctx__, 12)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } { Microsoft.XLANGs.RuntimeTypes.EventData __edata = new Microsoft.XLANGs.RuntimeTypes.EventData(Microsoft.XLANGs.RuntimeTypes.Operation.End | Microsoft.XLANGs.RuntimeTypes.Operation.Send); __edata.Messages.Add(__ctx1__.__msgResponse); __edata.PortName = @"Port_1"; Tracker.FireEvent(__eventLocations[6], __edata, _stateMgrs[1].TrackDataStream); } if (__ctx1__ != null && __ctx1__.__msgResponse != null) { __ctx1__.UnrefMessage(__ctx1__.__msgResponse); __ctx1__.__msgResponse = null; } if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 12; case 12: if (!PreProgressInc(__seg__, __ctx__, 13)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[7], __eventData[4], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 13; case 13: if (!__ctx1__.CleanupAndPrepareToCommit(__seg__)) { return(Microsoft.XLANGs.Core.StopConditions.Blocked); } if (!PostProgressInc(__seg__, __ctx__, 14)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 14; case 14: if (!PreProgressInc(__seg__, __ctx__, 15)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } __ctx1__.OnCommit(); goto case 15; case 15: __seg__.SegmentDone(); _segments[0].PredecessorDone(this); break; } return(Microsoft.XLANGs.Core.StopConditions.Completed); }
public __messagetype_FF_To_Xml_FF_TAB(string msgName, Microsoft.XLANGs.Core.Context ctx) : base(msgName, ctx) { __CreatePartWrappers(); }
public __messagetype_BooksOrders_BookOrdersCompleted(string msgName, Microsoft.XLANGs.Core.Context ctx) : base(msgName, ctx) { __CreatePartWrappers(); }
public Microsoft.XLANGs.Core.StopConditions segment1(Microsoft.XLANGs.Core.StopConditions stopOn) { Microsoft.XLANGs.Core.Segment __seg__ = _segments[1]; Microsoft.XLANGs.Core.Context __ctx__ = (Microsoft.XLANGs.Core.Context)_stateMgrs[1]; __ProcessData_root_0 __ctx0__ = (__ProcessData_root_0)_stateMgrs[0]; __ProcessData_1 __ctx1__ = (__ProcessData_1)_stateMgrs[1]; switch (__seg__.Progress) { case 0: __ctx__.PrologueCompleted = true; if (!PostProgressInc(__seg__, __ctx__, 1)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 1; case 1: if (!PreProgressInc(__seg__, __ctx__, 2)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[0], __eventData[0], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 2; case 2: if (!PreProgressInc(__seg__, __ctx__, 3)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[1], __eventData[1], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 3; case 3: if (!__ctx1__.CleanupAndPrepareToCommit(__seg__)) { return(Microsoft.XLANGs.Core.StopConditions.Blocked); } if (!PostProgressInc(__seg__, __ctx__, 4)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 4; case 4: if (!PreProgressInc(__seg__, __ctx__, 5)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } __ctx1__.OnCommit(); goto case 5; case 5: __seg__.SegmentDone(); _segments[0].PredecessorDone(this); break; } return(Microsoft.XLANGs.Core.StopConditions.Completed); }
public __messagetype_AFZA_PO_REST_POResponse(string msgName, Microsoft.XLANGs.Core.Context ctx) : base(msgName, ctx) { __CreatePartWrappers(); }
public __messagetype_Sample1_SalesSchema(string msgName, Microsoft.XLANGs.Core.Context ctx) : base(msgName, ctx) { __CreatePartWrappers(); }
public __messagetype_Practice_1_Response_Alumno(string msgName, Microsoft.XLANGs.Core.Context ctx) : base(msgName, ctx) { __CreatePartWrappers(); }
public Microsoft.XLANGs.Core.StopConditions segment2(Microsoft.XLANGs.Core.StopConditions stopOn) { Microsoft.XLANGs.Core.Segment __seg__ = _segments[2]; Microsoft.XLANGs.Core.Context __ctx__ = (Microsoft.XLANGs.Core.Context)_stateMgrs[2]; ____scope33_2 __ctx2__ = (____scope33_2)_stateMgrs[2]; __Sample1Orchestration_1 __ctx1__ = (__Sample1Orchestration_1)_stateMgrs[1]; switch (__seg__.Progress) { case 0: __ctx__.PrologueCompleted = true; if (!PostProgressInc(__seg__, __ctx__, 1)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 1; case 1: if (!PreProgressInc(__seg__, __ctx__, 2)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[6], __eventData[3], _stateMgrs[2].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 2; case 2: __ctx1__.__SSISApp = new Microsoft.SqlServer.Dts.Runtime.Application(); if (!PostProgressInc(__seg__, __ctx__, 3)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 3; case 3: if (!PreProgressInc(__seg__, __ctx__, 4)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[7], __eventData[4], _stateMgrs[2].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 4; case 4: __ctx1__.__SSISPkg = __ctx1__.__SSISApp.LoadPackage(@"C:\testsamples\Sample1\Sample1.dtsx", null); if (__ctx1__ != null) { __ctx1__.__SSISApp = null; } if (!PostProgressInc(__seg__, __ctx__, 5)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 5; case 5: __ctx1__.__SSISVar = __ctx1__.__SSISPkg.Variables["User::orders"]; if (!PostProgressInc(__seg__, __ctx__, 6)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 6; case 6: __ctx1__.__SSISVar.Value = (System.String)__ctx1__.__Sample1Message.part.GetDistinguishedField("SaleSummary.Orders"); if (__ctx1__ != null) { __ctx1__.__SSISVar = null; } if (__ctx1__ != null && __ctx1__.__Sample1Message != null) { __ctx1__.UnrefMessage(__ctx1__.__Sample1Message); __ctx1__.__Sample1Message = null; } if (!PostProgressInc(__seg__, __ctx__, 7)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 7; case 7: __ctx1__.__SSISPkg.Execute(); if (__ctx1__ != null) { __ctx1__.__SSISPkg = null; } if (!PostProgressInc(__seg__, __ctx__, 8)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 8; case 8: if (!__ctx2__.CleanupAndPrepareToCommit(__seg__)) { return(Microsoft.XLANGs.Core.StopConditions.Blocked); } if (!PostProgressInc(__seg__, __ctx__, 9)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 9; case 9: if (!PreProgressInc(__seg__, __ctx__, 10)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } __ctx2__.OnCommit(); goto case 10; case 10: __seg__.SegmentDone(); _segments[1].PredecessorDone(this); break; } return(Microsoft.XLANGs.Core.StopConditions.Completed); }
public __messagetype_WCF_Orch_Dest_Schema(string msgName, Microsoft.XLANGs.Core.Context ctx) : base(msgName, ctx) { __CreatePartWrappers(); }
public __messagetype_Project1_Schema1(string msgName, Microsoft.XLANGs.Core.Context ctx) : base(msgName, ctx) { __CreatePartWrappers(); }
public __messagetype_HowMapsWorks_Schemas_PersonTarget(string msgName, Microsoft.XLANGs.Core.Context ctx) : base(msgName, ctx) { __CreatePartWrappers(); }
public __messagetype_SQl_ins_Schema_XML(string msgName, Microsoft.XLANGs.Core.Context ctx) : base(msgName, ctx) { __CreatePartWrappers(); }
public __messagetype_ComoFuncinamOsMapas_Schemas_PessoaDestino(string msgName, Microsoft.XLANGs.Core.Context ctx) : base(msgName, ctx) { __CreatePartWrappers(); }
public __messagetype_Map_database_Outcoming_Data(string msgName, Microsoft.XLANGs.Core.Context ctx) : base(msgName, ctx) { __CreatePartWrappers(); }
public Microsoft.XLANGs.Core.StopConditions segment1(Microsoft.XLANGs.Core.StopConditions stopOn) { Microsoft.XLANGs.Core.Envelope __msgEnv__ = null; Microsoft.XLANGs.Core.Segment __seg__ = _segments[1]; Microsoft.XLANGs.Core.Context __ctx__ = (Microsoft.XLANGs.Core.Context)_stateMgrs[1]; __MapTestOrchestration_1 __ctx1__ = (__MapTestOrchestration_1)_stateMgrs[1]; __MapTestOrchestration_root_0 __ctx0__ = (__MapTestOrchestration_root_0)_stateMgrs[0]; switch (__seg__.Progress) { case 0: __ctx__.PrologueCompleted = true; if (!PostProgressInc(__seg__, __ctx__, 1)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 1; case 1: if (!PreProgressInc(__seg__, __ctx__, 2)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[0], __eventData[0], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 2; case 2: if (!PreProgressInc(__seg__, __ctx__, 3)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[1], __eventData[1], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 3; case 3: if (!ReceivePort.GetMessageId(__ctx0__.__subWrapper0.getSubscription(this), __seg__, __ctx1__, out __msgEnv__)) { return(Microsoft.XLANGs.Core.StopConditions.Blocked); } if (__ctx1__.__msgPessoa != null) { __ctx1__.UnrefMessage(__ctx1__.__msgPessoa); } __ctx1__.__msgPessoa = new __messagetype_ComoFuncinamOsMapas_Schemas_PessoaOrigem("msgPessoa", __ctx1__); __ctx1__.RefMessage(__ctx1__.__msgPessoa); ReceivePort.ReceiveMessage(0, __msgEnv__, __ctx1__.__msgPessoa, null, (Microsoft.XLANGs.Core.Context)_stateMgrs[1], __seg__); if (ReceivePort != null) { ReceivePort.Close(__ctx1__, __seg__); ReceivePort = null; } if (!PostProgressInc(__seg__, __ctx__, 4)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 4; case 4: if (!PreProgressInc(__seg__, __ctx__, 5)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } { Microsoft.XLANGs.RuntimeTypes.EventData __edata = new Microsoft.XLANGs.RuntimeTypes.EventData(Microsoft.XLANGs.RuntimeTypes.Operation.End | Microsoft.XLANGs.RuntimeTypes.Operation.Receive); __edata.Messages.Add(__ctx1__.__msgPessoa); __edata.PortName = @"ReceivePort"; Tracker.FireEvent(__eventLocations[2], __edata, _stateMgrs[1].TrackDataStream); } if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 5; case 5: if (!PreProgressInc(__seg__, __ctx__, 6)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[3], __eventData[2], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 6; case 6: { __messagetype_ComoFuncinamOsMapas_Schemas_PessoaDestino __msgPessoaFinal = new __messagetype_ComoFuncinamOsMapas_Schemas_PessoaDestino("msgPessoaFinal", __ctx1__); ApplyTransform(typeof(ComoFuncinamOsMapas.MapasNetPonto.DemoNetPonto), new object[] { __msgPessoaFinal.part }, new object[] { __ctx1__.__msgPessoa.part }); if (__ctx1__.__msgPessoaFinal != null) { __ctx1__.UnrefMessage(__ctx1__.__msgPessoaFinal); } __ctx1__.__msgPessoaFinal = __msgPessoaFinal; __ctx1__.RefMessage(__ctx1__.__msgPessoaFinal); } __ctx1__.__msgPessoaFinal.ConstructionCompleteEvent(true); if (!PostProgressInc(__seg__, __ctx__, 7)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 7; case 7: if (!PreProgressInc(__seg__, __ctx__, 8)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } { Microsoft.XLANGs.RuntimeTypes.EventData __edata = new Microsoft.XLANGs.RuntimeTypes.EventData(Microsoft.XLANGs.RuntimeTypes.Operation.End | Microsoft.XLANGs.RuntimeTypes.Operation.Construct); __edata.Messages.Add(__ctx1__.__msgPessoaFinal); __edata.Messages.Add(__ctx1__.__msgPessoa); Tracker.FireEvent(__eventLocations[4], __edata, _stateMgrs[1].TrackDataStream); } if (__ctx1__ != null && __ctx1__.__msgPessoa != null) { __ctx1__.UnrefMessage(__ctx1__.__msgPessoa); __ctx1__.__msgPessoa = null; } if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 8; case 8: if (!PreProgressInc(__seg__, __ctx__, 9)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[5], __eventData[3], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 9; case 9: if (!__ctx1__.PrepareToPendingCommit(__seg__)) { return(Microsoft.XLANGs.Core.StopConditions.Blocked); } if (!PostProgressInc(__seg__, __ctx__, 10)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 10; case 10: if (!PreProgressInc(__seg__, __ctx__, 11)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } SendPort.SendMessage(0, __ctx1__.__msgPessoaFinal, null, null, __ctx1__, __seg__, Microsoft.XLANGs.Core.ActivityFlags.NextActivityPersists); if (SendPort != null) { SendPort.Close(__ctx1__, __seg__); SendPort = null; } if ((stopOn & Microsoft.XLANGs.Core.StopConditions.OutgoingRqst) != 0) { return(Microsoft.XLANGs.Core.StopConditions.OutgoingRqst); } goto case 11; case 11: if (!PreProgressInc(__seg__, __ctx__, 12)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } { Microsoft.XLANGs.RuntimeTypes.EventData __edata = new Microsoft.XLANGs.RuntimeTypes.EventData(Microsoft.XLANGs.RuntimeTypes.Operation.End | Microsoft.XLANGs.RuntimeTypes.Operation.Send); __edata.Messages.Add(__ctx1__.__msgPessoaFinal); __edata.PortName = @"SendPort"; Tracker.FireEvent(__eventLocations[6], __edata, _stateMgrs[1].TrackDataStream); } if (__ctx1__ != null && __ctx1__.__msgPessoaFinal != null) { __ctx1__.UnrefMessage(__ctx1__.__msgPessoaFinal); __ctx1__.__msgPessoaFinal = null; } if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 12; case 12: if (!PreProgressInc(__seg__, __ctx__, 13)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[7], __eventData[4], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 13; case 13: if (!__ctx1__.CleanupAndPrepareToCommit(__seg__)) { return(Microsoft.XLANGs.Core.StopConditions.Blocked); } if (!PostProgressInc(__seg__, __ctx__, 14)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 14; case 14: if (!PreProgressInc(__seg__, __ctx__, 15)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } __ctx1__.OnCommit(); goto case 15; case 15: __seg__.SegmentDone(); _segments[0].PredecessorDone(this); break; } return(Microsoft.XLANGs.Core.StopConditions.Completed); }
public Microsoft.XLANGs.Core.StopConditions segment1(Microsoft.XLANGs.Core.StopConditions stopOn) { Microsoft.XLANGs.Core.Envelope __msgEnv__ = null; Microsoft.XLANGs.Core.Segment __seg__ = _segments[1]; Microsoft.XLANGs.Core.Context __ctx__ = (Microsoft.XLANGs.Core.Context)_stateMgrs[1]; __DB_root_0 __ctx0__ = (__DB_root_0)_stateMgrs[0]; __DB_1 __ctx1__ = (__DB_1)_stateMgrs[1]; switch (__seg__.Progress) { case 0: __ctx__.PrologueCompleted = true; if (!PostProgressInc(__seg__, __ctx__, 1)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 1; case 1: if (!PreProgressInc(__seg__, __ctx__, 2)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[0], __eventData[0], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 2; case 2: if (!PreProgressInc(__seg__, __ctx__, 3)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[1], __eventData[1], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 3; case 3: if (!Port_1.GetMessageId(__ctx0__.__subWrapper0.getSubscription(this), __seg__, __ctx1__, out __msgEnv__)) { return(Microsoft.XLANGs.Core.StopConditions.Blocked); } if (__ctx1__.__In_msg != null) { __ctx1__.UnrefMessage(__ctx1__.__In_msg); } __ctx1__.__In_msg = new __messagetype_Map_database_Incoming_Data("In_msg", __ctx1__); __ctx1__.RefMessage(__ctx1__.__In_msg); Port_1.ReceiveMessage(0, __msgEnv__, __ctx1__.__In_msg, null, (Microsoft.XLANGs.Core.Context)_stateMgrs[1], __seg__); if (Port_1 != null) { Port_1.Close(__ctx1__, __seg__); Port_1 = null; } if (!PostProgressInc(__seg__, __ctx__, 4)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 4; case 4: if (!PreProgressInc(__seg__, __ctx__, 5)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } { Microsoft.XLANGs.RuntimeTypes.EventData __edata = new Microsoft.XLANGs.RuntimeTypes.EventData(Microsoft.XLANGs.RuntimeTypes.Operation.End | Microsoft.XLANGs.RuntimeTypes.Operation.Receive); __edata.Messages.Add(__ctx1__.__In_msg); __edata.PortName = @"Port_1"; Tracker.FireEvent(__eventLocations[2], __edata, _stateMgrs[1].TrackDataStream); } if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 5; case 5: if (!PreProgressInc(__seg__, __ctx__, 6)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[3], __eventData[2], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 6; case 6: { __messagetype_Map_database_Outcoming_Data __Out_Msg = new __messagetype_Map_database_Outcoming_Data("Out_Msg", __ctx1__); ApplyTransform(typeof(Map_database.Map1), new object[] { __Out_Msg.part }, new object[] { __ctx1__.__In_msg.part }); if (__ctx1__.__Out_Msg != null) { __ctx1__.UnrefMessage(__ctx1__.__Out_Msg); } __ctx1__.__Out_Msg = __Out_Msg; __ctx1__.RefMessage(__ctx1__.__Out_Msg); } __ctx1__.__Out_Msg.ConstructionCompleteEvent(true); if (!PostProgressInc(__seg__, __ctx__, 7)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 7; case 7: if (!PreProgressInc(__seg__, __ctx__, 8)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } { Microsoft.XLANGs.RuntimeTypes.EventData __edata = new Microsoft.XLANGs.RuntimeTypes.EventData(Microsoft.XLANGs.RuntimeTypes.Operation.End | Microsoft.XLANGs.RuntimeTypes.Operation.Construct); __edata.Messages.Add(__ctx1__.__Out_Msg); __edata.Messages.Add(__ctx1__.__In_msg); Tracker.FireEvent(__eventLocations[4], __edata, _stateMgrs[1].TrackDataStream); } if (__ctx1__ != null && __ctx1__.__In_msg != null) { __ctx1__.UnrefMessage(__ctx1__.__In_msg); __ctx1__.__In_msg = null; } if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 8; case 8: if (!PreProgressInc(__seg__, __ctx__, 9)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[5], __eventData[3], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 9; case 9: if (!__ctx1__.PrepareToPendingCommit(__seg__)) { return(Microsoft.XLANGs.Core.StopConditions.Blocked); } if (!PostProgressInc(__seg__, __ctx__, 10)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 10; case 10: if (!PreProgressInc(__seg__, __ctx__, 11)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Port_2.SendMessage(0, __ctx1__.__Out_Msg, null, null, __ctx1__, __seg__, Microsoft.XLANGs.Core.ActivityFlags.NextActivityPersists); if (Port_2 != null) { Port_2.Close(__ctx1__, __seg__); Port_2 = null; } if ((stopOn & Microsoft.XLANGs.Core.StopConditions.OutgoingRqst) != 0) { return(Microsoft.XLANGs.Core.StopConditions.OutgoingRqst); } goto case 11; case 11: if (!PreProgressInc(__seg__, __ctx__, 12)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } { Microsoft.XLANGs.RuntimeTypes.EventData __edata = new Microsoft.XLANGs.RuntimeTypes.EventData(Microsoft.XLANGs.RuntimeTypes.Operation.End | Microsoft.XLANGs.RuntimeTypes.Operation.Send); __edata.Messages.Add(__ctx1__.__Out_Msg); __edata.PortName = @"Port_2"; Tracker.FireEvent(__eventLocations[6], __edata, _stateMgrs[1].TrackDataStream); } if (__ctx1__ != null && __ctx1__.__Out_Msg != null) { __ctx1__.UnrefMessage(__ctx1__.__Out_Msg); __ctx1__.__Out_Msg = null; } if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 12; case 12: if (!PreProgressInc(__seg__, __ctx__, 13)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[7], __eventData[4], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 13; case 13: if (!__ctx1__.CleanupAndPrepareToCommit(__seg__)) { return(Microsoft.XLANGs.Core.StopConditions.Blocked); } if (!PostProgressInc(__seg__, __ctx__, 14)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 14; case 14: if (!PreProgressInc(__seg__, __ctx__, 15)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } __ctx1__.OnCommit(); goto case 15; case 15: __seg__.SegmentDone(); _segments[0].PredecessorDone(this); break; } return(Microsoft.XLANGs.Core.StopConditions.Completed); }
public Microsoft.XLANGs.Core.StopConditions segment1(Microsoft.XLANGs.Core.StopConditions stopOn) { Microsoft.XLANGs.Core.Envelope __msgEnv__ = null; Microsoft.XLANGs.Core.Segment __seg__ = _segments[1]; Microsoft.XLANGs.Core.Context __ctx__ = (Microsoft.XLANGs.Core.Context)_stateMgrs[1]; __RecevingOrders_1 __ctx1__ = (__RecevingOrders_1)_stateMgrs[1]; __RecevingOrders_root_0 __ctx0__ = (__RecevingOrders_root_0)_stateMgrs[0]; switch (__seg__.Progress) { case 0: __ctx__.PrologueCompleted = true; if (!PostProgressInc(__seg__, __ctx__, 1)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 1; case 1: if (!PreProgressInc(__seg__, __ctx__, 2)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[0], __eventData[0], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 2; case 2: if (!PreProgressInc(__seg__, __ctx__, 3)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[1], __eventData[1], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 3; case 3: if (!Port_OrdersIn.GetMessageId(__ctx0__.__subWrapper0.getSubscription(this), __seg__, __ctx1__, out __msgEnv__)) { return(Microsoft.XLANGs.Core.StopConditions.Blocked); } if (__ctx1__.__msgBookOrders != null) { __ctx1__.UnrefMessage(__ctx1__.__msgBookOrders); } __ctx1__.__msgBookOrders = new __messagetype_BooksOrders_BookOrdersCompleted("msgBookOrders", __ctx1__); __ctx1__.RefMessage(__ctx1__.__msgBookOrders); Port_OrdersIn.ReceiveMessage(0, __msgEnv__, __ctx1__.__msgBookOrders, null, (Microsoft.XLANGs.Core.Context)_stateMgrs[1], __seg__); if (Port_OrdersIn != null) { Port_OrdersIn.Close(__ctx1__, __seg__); Port_OrdersIn = null; } if (!PostProgressInc(__seg__, __ctx__, 4)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 4; case 4: if (!PreProgressInc(__seg__, __ctx__, 5)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } { Microsoft.XLANGs.RuntimeTypes.EventData __edata = new Microsoft.XLANGs.RuntimeTypes.EventData(Microsoft.XLANGs.RuntimeTypes.Operation.End | Microsoft.XLANGs.RuntimeTypes.Operation.Receive); __edata.Messages.Add(__ctx1__.__msgBookOrders); __edata.PortName = @"Port_OrdersIn"; Tracker.FireEvent(__eventLocations[2], __edata, _stateMgrs[1].TrackDataStream); } if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 5; case 5: if (!PreProgressInc(__seg__, __ctx__, 6)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[3], __eventData[2], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 6; case 6: if (!__ctx1__.PrepareToPendingCommit(__seg__)) { return(Microsoft.XLANGs.Core.StopConditions.Blocked); } if (!PostProgressInc(__seg__, __ctx__, 7)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 7; case 7: if (!PreProgressInc(__seg__, __ctx__, 8)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Port_OrdersOut.SendMessage(0, __ctx1__.__msgBookOrders, null, null, __ctx1__, __seg__, Microsoft.XLANGs.Core.ActivityFlags.NextActivityPersists); if (Port_OrdersOut != null) { Port_OrdersOut.Close(__ctx1__, __seg__); Port_OrdersOut = null; } if ((stopOn & Microsoft.XLANGs.Core.StopConditions.OutgoingRqst) != 0) { return(Microsoft.XLANGs.Core.StopConditions.OutgoingRqst); } goto case 8; case 8: if (!PreProgressInc(__seg__, __ctx__, 9)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } { Microsoft.XLANGs.RuntimeTypes.EventData __edata = new Microsoft.XLANGs.RuntimeTypes.EventData(Microsoft.XLANGs.RuntimeTypes.Operation.End | Microsoft.XLANGs.RuntimeTypes.Operation.Send); __edata.Messages.Add(__ctx1__.__msgBookOrders); __edata.PortName = @"Port_OrdersOut"; Tracker.FireEvent(__eventLocations[4], __edata, _stateMgrs[1].TrackDataStream); } if (__ctx1__ != null && __ctx1__.__msgBookOrders != null) { __ctx1__.UnrefMessage(__ctx1__.__msgBookOrders); __ctx1__.__msgBookOrders = null; } if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 9; case 9: if (!PreProgressInc(__seg__, __ctx__, 10)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } Tracker.FireEvent(__eventLocations[5], __eventData[3], _stateMgrs[1].TrackDataStream); if (IsDebugged) { return(Microsoft.XLANGs.Core.StopConditions.InBreakpoint); } goto case 10; case 10: if (!__ctx1__.CleanupAndPrepareToCommit(__seg__)) { return(Microsoft.XLANGs.Core.StopConditions.Blocked); } if (!PostProgressInc(__seg__, __ctx__, 11)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } goto case 11; case 11: if (!PreProgressInc(__seg__, __ctx__, 12)) { return(Microsoft.XLANGs.Core.StopConditions.Paused); } __ctx1__.OnCommit(); goto case 12; case 12: __seg__.SegmentDone(); _segments[0].PredecessorDone(this); break; } return(Microsoft.XLANGs.Core.StopConditions.Completed); }