public override TabSection Create()
        {
            var section = new TabSection("", GetSectionHeader());

            var licenseSection = new LicenseSection(RequestData).Create();
            if (licenseSection != null)
            {
                section.AddRow().Column("License").Column(licenseSection);
            }

            var userListSection = new UserListSection(RequestData).Create();
            if (userListSection != null)
            {
                section.AddRow().Column("Current Users").Column(userListSection);
            }
            
            var servicesSection = new ServicesSection(RequestData).Create();
            if (servicesSection != null)
            {
                section.AddRow().Column("Sitecore Services").Column(servicesSection);
            }

            var controllersSection = new ControllersSection(RequestData).Create();
            if (controllersSection != null)
            {
                section.AddRow().Column("Controllers").Column(controllersSection);
            }

            return section;
        }
Ejemplo n.º 2
0
        public override TabSection Create()
        {
            var section = new TabSection("", GetSectionHeader());

            var licenseSection = new LicenseSection(RequestData).Create();

            if (licenseSection != null)
            {
                section.AddRow().Column("License").Column(licenseSection);
            }

            var userListSection = new UserListSection(RequestData).Create();

            if (userListSection != null)
            {
                section.AddRow().Column("Current Users").Column(userListSection);
            }

            var servicesSection = new ServicesSection(RequestData).Create();

            if (servicesSection != null)
            {
                section.AddRow().Column("Sitecore Services").Column(servicesSection);
            }

            var controllersSection = new ControllersSection(RequestData).Create();

            if (controllersSection != null)
            {
                section.AddRow().Column("Controllers").Column(controllersSection);
            }

            return(section);
        }