public static StageSet GetTraversedStages(ITraversable start) { StageSet stages = new StageSet(); stages.Add((Stage)start); foreach (Stage stage in start.NextStages) { if (!stages.Contains(stage)) { stages.UnionWith(GetTraversedStages((ITraversable)stage)); } } return(stages); }
public StageSet(StageSet stageSet) : base((HashSet <Stage>)stageSet) { }
public StageSet(BpToolsLib.StageSet stageSet, string subsheetId) : this(stageSet) { this.subsheetId = subsheetId; }
public StageSet(BpToolsLib.StageSet stageSet) { this.stageSet = stageSet; }