/// <summary> /// Lazy fetch method for getting the list of schedule details associated with this schedule. /// </summary> /// <returns> /// Generic list of ScheduleDetail objects - can be empty. /// </returns> public List <ScheduleDetail> ScheduleDetails() { if (_scheduleDetails != null) { return(_scheduleDetails); } _scheduleDetails = ScheduleDetail.GetDetails(HomeServer, ObjectId); return(_scheduleDetails); }
/// <summary> /// Fetch the list of schedule details associated with this schedule (if any) /// </summary> /// <param name="pScheduleDetails"> /// Schedule details associated with the schedule are returned on this out paramter /// </param> /// <returns> /// Instance of the WebCallResult. /// </returns> public WebCallResult GetScheduleDetails(out List <ScheduleDetail> pScheduleDetails) { return(ScheduleDetail.GetScheduleDetails(this.HomeServer, this.ObjectId, out pScheduleDetails)); }