Exemple #1
0
        public async Task <IEnumerable <Dto.SPDto.Event> > ListTasksEvents_SP(int spSiteId, int projId, IEnumerable <int> tasks, bool is_recycled = false)
        {
            var query = new SPCamlEventsQueryBuilder(tasks)
            {
                IsRecycled = is_recycled
            }.ToString();

            return(await QueryEvents_SP(spSiteId, projId, query));
        }
Exemple #2
0
        /// <summary>
        /// Lists all project events including Recycled and Done
        /// </summary>
        /// <param name="spSiteId"></param>
        /// <param name="projId"></param>
        /// <returns></returns>
        public async Task <IEnumerable <Dto.SPDto.Event> > ListAllProjectEvents_SP(int spSiteId, int projId)
        {
            var query = new SPCamlEventsQueryBuilder().ToString();

            return(await QueryEvents_SP(spSiteId, projId, query));
        }
Exemple #3
0
        public async Task <IEnumerable <Dto.SPDto.Event> > ListEvents_SP(int spSiteId, int projId, bool?is_recycled, bool?done, IEnumerable <int> tasks)
        {
            var query = new SPCamlEventsQueryBuilder(is_recycled, done, tasks).ToString();

            return(await QueryEvents_SP(spSiteId, projId, query));
        }