示例#1
0
        public bool IsValid()
        {
            if (ScheduleStartsAt != DateTime.MinValue &&
                ScheduleEndsAt != DateTime.MinValue &&
                Actors != null &&
                Busy != null &&
                Tasks != null)
            {
                return(Actors.Any() && Busy.Any() && Tasks.Any());
            }

            return(false);
        }