// 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"); } }
// Token: 0x0600057A RID: 1402 RVA: 0x0002B86C File Offset: 0x00029A6C private void RenderCalendarSecondaryNavigation() { CalendarSecondaryNavigation calendarSecondaryNavigation = new CalendarSecondaryNavigation(base.OwaContext, this.CurrentFolderStoreObjectId, new ExDateTime?(this.day), null); string text = calendarSecondaryNavigation.Render(base.Response.Output); if (!string.IsNullOrEmpty(text)) { base.Infobar.AddMessageText(text, InfobarMessageType.Error); } }