Esempio n. 1
0
        private static bool GetHasWorkToBeCompleted(Roadmap roadmap)
        {
            if (roadmap is null)
            {
                throw new ArgumentNullException(nameof(roadmap));
            }

            return(roadmap.HasWorkToBeCompleted);
        }
Esempio n. 2
0
 /// <exception cref="ArgumentOutOfRangeException">
 /// Thrown when <paramref name="estimatedNumberOfWorkingDaysRequiredToFinishWork"/> is not at least 0.
 /// </exception>
 public WorkEstimate(Roadmap roadmap, double estimatedNumberOfWorkingDaysRequiredToFinishWork) :
     this(estimatedNumberOfWorkingDaysRequiredToFinishWork, GetHasWorkToBeCompleted(roadmap))
 {
     Identifier = "Roadmap";
 }