Exemplo n.º 1
0
        Calendar IEntityReference <Calendar> .Read(CommandContext context)
        {
            IMailboxSession storeSession = (IMailboxSession)base.StoreSession;
            StorageEntitySetScope <IMailboxSession> storageEntitySetScope = new StorageEntitySetScope <IMailboxSession>(storeSession, base.RecipientSession, base.XsoFactory, null);
            string           key = this.Calendar.GetKey();
            MailboxCalendars mailboxCalendars = new MailboxCalendars(storageEntitySetScope, new CalendarGroups(storageEntitySetScope, null).MyCalendars);

            return(mailboxCalendars.Read(key, context));
        }
 public DefaultCalendarReference(MailboxCalendars calendars) : base(calendars)
 {
 }