/// <summary> /// Initializes a new instance of the <see cref="SprintStory"/> class. /// </summary> /// <param name="sprint">The sprint.</param> /// <param name="story">The story.</param> /// <param name="schatting">The schatting.</param> public SprintStory(Sprint sprint, Story story, TimeSpan schatting) { if (sprint == null) throw new ArgumentNullException("sprint", "De sprint mag niet null zijn."); if (story == null) throw new ArgumentNullException("story", "De story mag niet null zijn."); sprint.AddSprintStory(this); story.AddSprintStory(this); this.estimation = schatting; }