public static Goal ResolvingGoal(this GoalReplacement exception)
 {
     return(exception.model.Goals().SingleOrDefault(y => y.Identifier == exception.ResolvingGoalIdentifier));
 }
 public static Obstacle Obstacle(this GoalReplacement exception)
 {
     return(exception.model.Obstacles().SingleOrDefault(y => y.Identifier == exception.ResolvedObstacleIdentifier));
 }
Exemplo n.º 3
0
 public void Add(GoalReplacement replacement)
 {
     this.goalRepository.Add(replacement);
 }