コード例 #1
0
 public static Goal ResolvingGoal(this GoalException exception)
 {
     return(exception.model.Goals().SingleOrDefault(y => y.Identifier == exception.ResolvingGoalIdentifier));
 }
コード例 #2
0
 public static Obstacle Obstacle(this GoalException exception)
 {
     return(exception.model.Obstacles().SingleOrDefault(y => y.Identifier == exception.ResolvedObstacleIdentifier));
 }
コード例 #3
0
 public void Add(GoalException exception)
 {
     this.goalRepository.Add(exception);
 }