コード例 #1
0
    /// <summary>
    /// Gets the current user calendar list.
    /// </summary>
    /// <param name="CurrentUserID">The current user ID.</param>
    /// <returns></returns>
    private List <UserCalendar> GetCurrentUserCalendarList(string CurrentUserID)
    {
        List <UserCalendar> calList = null;

        if (IsActivity() || IsHistory())
        {
            calList = UserCalendar.GetCalendarAccessList(CurrentUserID);
            if (calList != null)
            {
                UserCalendarComparer ucc = new UserCalendarComparer();
                calList.Sort(ucc);
            }
        }
        return(calList);
    }
コード例 #2
0
 /// <summary>
 /// Gets the current user calendar list.
 /// </summary>
 /// <param name="CurrentUserID">The current user ID.</param>
 /// <returns></returns>
 private List<UserCalendar> GetCurrentUserCalendarList(string CurrentUserID)
 {
     List<UserCalendar> calList = null;
     if (IsActivity() || IsHistory())
     {
         calList = UserCalendar.GetCalendarAccessList(CurrentUserID);
         if (calList != null)
         {
             UserCalendarComparer ucc = new UserCalendarComparer();
             calList.Sort(ucc);
         }
     }
     return calList;
 }