Exemplo n.º 1
0
 public static IEnumerable <Obstacle> Obstacles(this Obstruction o)
 {
     return(o.Obstacle().Obstacles());
 }
 public static Goal ObstructedGoal(this Obstruction obstruction)
 {
     return(obstruction.model.Goals().SingleOrDefault(y => y.Identifier == obstruction.ObstructedGoalIdentifier));
 }
 public static Obstacle Obstacle(this Obstruction obstruction)
 {
     return(obstruction.model.Obstacles().SingleOrDefault(y => y.Identifier == obstruction.ObstacleIdentifier));
 }
Exemplo n.º 4
0
 public void Add(Obstruction v)
 {
     this.obstacleRepository.Add(v);
 }