public void GetSecondaryNavigation()
        {
            ExTraceGlobals.MailCallTracer.TraceDebug((long)this.GetHashCode(), "NavigationEventHandler.GetSecondaryNavigation");
            switch ((NavigationModule)base.GetParameter("m"))
            {
            case NavigationModule.Mail:
                NavigationHost.RenderMailSecondaryNavigation(this.Writer, base.UserContext);
                return;

            case NavigationModule.Calendar:
                if (!base.UserContext.IsFeatureEnabled(Feature.Calendar))
                {
                    throw new OwaSegmentationException("The calendar is disabled");
                }
                using (CalendarFolder folder = Utilities.GetFolder <CalendarFolder>(base.UserContext, base.UserContext.CalendarFolderOwaId, new PropertyDefinition[]
                {
                    ViewStateProperties.CalendarViewType,
                    ViewStateProperties.DailyViewDays
                }))
                {
                    DailyView.RenderSecondaryNavigation(this.Writer, folder, base.UserContext);
                    return;
                }
                break;

            case NavigationModule.Contacts:
                break;

            case NavigationModule.Tasks:
                if (!base.UserContext.IsFeatureEnabled(Feature.Tasks))
                {
                    throw new OwaSegmentationException("Tasks are disabled");
                }
                TaskView.RenderSecondaryNavigation(this.Writer, base.UserContext);
                return;

            case NavigationModule.Options:
                return;

            case NavigationModule.AddressBook:
                DirectoryView.RenderSecondaryNavigation(this.Writer, base.UserContext);
                return;

            case NavigationModule.Documents:
                DocumentLibraryUtilities.RenderSecondaryNavigation(this.Writer, base.UserContext);
                return;

            case NavigationModule.PublicFolders:
                NavigationHost.RenderPublicFolderSecondaryNavigation(this.Writer, base.UserContext);
                return;

            default:
                return;
            }
            if (!base.UserContext.IsFeatureEnabled(Feature.Contacts))
            {
                throw new OwaSegmentationException("The Contacts feature is disabled");
            }
            ContactView.RenderSecondaryNavigation(this.Writer, base.UserContext, false);
        }
 // Token: 0x060027AA RID: 10154 RVA: 0x000E0F0A File Offset: 0x000DF10A
 internal static void RenderSecondaryNavigation(TextWriter output, UserContext userContext)
 {
     DirectoryView.RenderSecondaryNavigation(output, userContext, false);
 }