Exemplo n.º 1
0
 public void SetNextStages(BpToolsLib.StageSet set)
 {
     if (BpStageCalculation.NextStage != null)
     {
         BpStageCalculation.NextStage = set.Where(s => s.Id == BpStageCalculation.NextStage.Id).First();
     }
 }
Exemplo n.º 2
0
 public void SetNextStages(BpToolsLib.StageSet set)
 {
     if (BpStageDecision.OnTrue != null)
     {
         BpStageDecision.OnTrue = set.Where(s => s.Id == BpStageDecision.OnTrue.Id).First();
     }
     if (BpStageDecision.OnFalse != null)
     {
         BpStageDecision.OnFalse = set.Where(s => s.Id == BpStageDecision.OnFalse.Id).First();
     }
 }
Exemplo n.º 3
0
 public void SetNextStages(BpToolsLib.StageSet set)
 {
     if (BpStageLoop.NextStage != null)
     {
         BpStageLoop.NextStage = set.Where(s => s.Id == BpStageLoop.NextStage.Id).First();
     }
     if (BpStageLoop.GroupId != null)
     {
         BpStageLoop.LoopEnd = (BpToolsLib.StageLoopEnd)set.Where(s => s is BpToolsLib.StageLoopEnd && ((BpToolsLib.StageLoopEnd)s).GroupId == BpStageLoop.GroupId).First();
     }
 }
Exemplo n.º 4
0
 public void SetNextStages(BpToolsLib.StageSet set)
 {
     foreach (BpToolsLib.Choice choice in BpStageChoice.Choices)
     {
         if (choice.OnTrue != null)
         {
             choice.OnTrue = set.Where(s => s.Id == choice.OnTrue.Id).First();
         }
     }
     if (BpStageChoice.GroupId != null)
     {
         BpStageChoice.ChoiceEnd = (BpToolsLib.StageChoiceEnd)set.Where(s => s is BpToolsLib.StageChoiceEnd && ((BpToolsLib.StageChoiceEnd)s).GroupId == BpStageChoice.GroupId).First();
     }
 }
Exemplo n.º 5
0
 public void SetNextStages(BpToolsLib.StageSet set)
 {
 }