Beispiel #1
0
        /// <summary>
        /// Verarbeitung
        /// </summary>
        public override void Process()
        {
            base.Process();

            // Header
            Header.HamburgerPrimary.AddRange(ComponentManager.CreateComponent <IControlDropdownItem>(Context.ApplicationID, Section.AppPrimary, ResourceContext));
            Header.HamburgerSecondary.AddRange(ComponentManager.CreateComponent <IControlDropdownItem>(Context.ApplicationID, Section.AppSecondary, ResourceContext));
            Header.NavigationPreferences.AddRange(ComponentManager.CreateComponent <IControlNavigationItem>(Context.ApplicationID, Section.AppNavigationPreferences, ResourceContext));
            Header.NavigationPrimary.AddRange(ComponentManager.CreateComponent <IControlNavigationItem>(Context.ApplicationID, Section.AppNavigationPrimary, ResourceContext));
            Header.NavigationSecondary.AddRange(ComponentManager.CreateComponent <IControlNavigationItem>(Context.ApplicationID, Section.AppNavigationSecondary, ResourceContext));
            Header.QuickCreatePrimary.AddRange(ComponentManager.CreateComponent <IControlSplitButtonItem>(Context.ApplicationID, Section.AppQuickcreatePrimary, ResourceContext));
            Header.QuickCreatePrimary.AddRange(ComponentManager.CreateComponent <IControlSplitButtonItem>(Context.ApplicationID, Section.AppQuickcreateSecondary, ResourceContext));
            Header.HelpPreferences.AddRange(ComponentManager.CreateComponent <IControlDropdownItem>(Context.ApplicationID, Section.AppHelpPreferences, ResourceContext));
            Header.HelpPrimary.AddRange(ComponentManager.CreateComponent <IControlDropdownItem>(Context.ApplicationID, Section.AppHelpPrimary, ResourceContext));
            Header.HelpSecondary.AddRange(ComponentManager.CreateComponent <IControlDropdownItem>(Context.ApplicationID, Section.AppHelpSecondary, ResourceContext));
            Header.SettingsPrimary.AddRange(ComponentManager.CreateComponent <IControlDropdownItem>(Context.ApplicationID, Section.AppSettingsPrimary, ResourceContext));
            Header.SettingsSecondary.AddRange(ComponentManager.CreateComponent <IControlDropdownItem>(Context.ApplicationID, Section.AppSettingsSecondary, ResourceContext));

            // Sidebar
            Sidebar.Preferences.AddRange(ComponentManager.CreateComponent <IControl>(Context.ApplicationID, Section.SidebarPreferences, ResourceContext));
            Sidebar.Primary.AddRange(ComponentManager.CreateComponent <IControl>(Context.ApplicationID, Section.SidebarPrimary, ResourceContext));
            Sidebar.Secondary.AddRange(ComponentManager.CreateComponent <IControl>(Context.ApplicationID, Section.SidebarSecondary, ResourceContext));

            // Property
            Content.Property.Preferences.AddRange(ComponentManager.CreateComponent <IControl>(Context.ApplicationID, Section.PropertyPreferences, ResourceContext));
            Content.Property.Primary.AddRange(ComponentManager.CreateComponent <IControl>(Context.ApplicationID, Section.PropertyPrimary, ResourceContext));
            Content.Property.Secondary.AddRange(ComponentManager.CreateComponent <IControl>(Context.ApplicationID, Section.PropertySecondary, ResourceContext));

            // Inhalt
            Content.Preferences.AddRange(ComponentManager.CreateComponent <IControl>(Context.ApplicationID, Section.ContentPreferences, ResourceContext));
            Content.Primary.AddRange(ComponentManager.CreateComponent <IControl>(Context.ApplicationID, Section.ContentPrimary, ResourceContext));
            Content.Secondary.AddRange(ComponentManager.CreateComponent <IControl>(Context.ApplicationID, Section.ContentSecondary, ResourceContext));

            // Footer
            Footer.Preferences.AddRange(ComponentManager.CreateComponent <IControl>(Context.ApplicationID, Section.FooterPreferences, ResourceContext));
            Footer.Primary.AddRange(ComponentManager.CreateComponent <IControl>(Context.ApplicationID, Section.FooterPrimary, ResourceContext));
            Footer.Secondary.AddRange(ComponentManager.CreateComponent <IControl>(Context.ApplicationID, Section.FooterSecondary, ResourceContext));
        }