コード例 #1
0
        // Token: 0x0600242D RID: 9261 RVA: 0x00082494 File Offset: 0x00080694
        private static T CreateExpandedShape <T>(T baseShape, PropertyPath[] expandedProperties) where T : ResponseShape, new()
        {
            T result = WellKnownShapes.CreateExpandedShapeFromProperties <T>(baseShape.AdditionalProperties, expandedProperties);

            result.FlightedProperties = new Dictionary <string, PropertyPath[]>(baseShape.FlightedProperties);
            return(result);
        }
コード例 #2
0
 // Token: 0x06002433 RID: 9267 RVA: 0x00082D3C File Offset: 0x00080F3C
 private static ItemResponseShape CreateFullCalendarItemResponseShape()
 {
     return(new ItemResponseShape
     {
         BaseShape = ShapeEnum.IdOnly,
         AddBlankTargetToLinks = true,
         FilterHtmlContent = true,
         InlineImageUrlTemplate = "/service.svc/s/GetFileAttachment",
         AdditionalProperties = WellKnownShapes.GetFullCalendarItemAdditionalProperties()
     });
 }
コード例 #3
0
        // Token: 0x06002430 RID: 9264 RVA: 0x00082698 File Offset: 0x00080898
        private static AttachmentResponseShape CreateItemAttachmentBaseResponseShape()
        {
            AttachmentResponseShape attachmentResponseShape = new AttachmentResponseShape
            {
                BaseShape = ShapeEnum.IdOnly
            };
            List <PropertyPath> list = new List <PropertyPath>();

            list.AddRange(WellKnownShapes.GetItemAttachmentAdditionalProperties());
            list.AddRange(WellKnownShapes.GetFullCalendarItemAdditionalProperties());
            attachmentResponseShape.AdditionalProperties = list.ToArray();
            return(attachmentResponseShape);
        }