Ejemplo n.º 1
0
 public static IEnumerable <Goal> ObstructedGoals(this KAOSModel model)
 {
     return(from g in model.Obstructions() select g.ObstructedGoal());
 }
Ejemplo n.º 2
0
 public static IEnumerable <Obstacle> RootObstacles(this KAOSModel model)
 {
     return(model.Obstructions().Select(x => x.Obstacle()));
 }