// Token: 0x06000548 RID: 1352 RVA: 0x0002A514 File Offset: 0x00028714
        public void RenderSecondaryNavigation(TextWriter writer)
        {
            switch (this.Module)
            {
            case NavigationModule.Mail:
            {
                MailSecondaryNavigation mailSecondaryNavigation = new MailSecondaryNavigation(base.OwaContext, this.selectedFolderId, this.allFolderList, null, null);
                mailSecondaryNavigation.Render(writer);
                return;
            }

            case NavigationModule.Calendar:
            {
                CalendarSecondaryNavigation calendarSecondaryNavigation = new CalendarSecondaryNavigation(base.OwaContext, this.selectedFolderId, null, null);
                calendarSecondaryNavigation.Render(writer);
                return;
            }

            case NavigationModule.Contacts:
            {
                ContactSecondaryNavigation contactSecondaryNavigation = new ContactSecondaryNavigation(base.OwaContext, this.selectedFolderId, null);
                contactSecondaryNavigation.RenderContacts(writer);
                return;
            }

            default:
                throw new ArgumentOutOfRangeException("Module", "The secondary navigation for Module " + this.Module + " is not supported");
            }
        }
Esempio n. 2
0
        protected void RenderSecondaryNavigation()
        {
            switch (this.module)
            {
            case NavigationModule.Mail:
            {
                MailSecondaryNavigation mailSecondaryNavigation = new MailSecondaryNavigation(base.OwaContext, this.selectedFolderId, this.allFolderList, this.mruFolderList, null);
                mailSecondaryNavigation.Render(base.Response.Output);
                return;
            }

            case NavigationModule.Calendar:
                break;

            case NavigationModule.Contacts:
            {
                ContactSecondaryNavigation contactSecondaryNavigation = new ContactSecondaryNavigation(base.OwaContext, this.selectedFolderId, this.contactFolderList);
                contactSecondaryNavigation.RenderContacts(base.Response.Output);
                break;
            }

            default:
                return;
            }
        }
Esempio n. 3
0
        protected void RenderSecondaryNavigation()
        {
            NavigationModule navigationModule = this.navigationModule;

            if (navigationModule == NavigationModule.Contacts)
            {
                ContactSecondaryNavigation contactSecondaryNavigation = new ContactSecondaryNavigation(base.OwaContext, this.FolderId, null);
                contactSecondaryNavigation.RenderContacts(base.Response.Output);
                return;
            }
            base.Response.Write("<div class=\"nsn\"></div>");
        }
        // Token: 0x06000494 RID: 1172 RVA: 0x00026FBC File Offset: 0x000251BC
        public void RenderContactsSecondaryNavigation()
        {
            ContactSecondaryNavigation contactSecondaryNavigation = new ContactSecondaryNavigation(base.OwaContext, base.Folder.Id.ObjectId, null);

            contactSecondaryNavigation.RenderContacts(base.Response.Output);
        }
Esempio n. 5
0
        // Token: 0x06000382 RID: 898 RVA: 0x0001FDE4 File Offset: 0x0001DFE4
        private void RenderContactsSecondaryNavigation()
        {
            ContactSecondaryNavigation contactSecondaryNavigation = new ContactSecondaryNavigation(base.OwaContext, this.FolderStoreObjectId, null);

            contactSecondaryNavigation.RenderContacts(base.Response.Output);
        }