Example #1
0
        internal void LoadValuesFromConfigurationXml()
        {
            XmlNode configSection = this.GetConfigSection("Hishop/Core");
            XmlAttributeCollection attributeCollection = configSection.Attributes;

            this.GetAttributes(attributeCollection);
            foreach (XmlNode node2 in configSection.ChildNodes)
            {
                if (node2.Name == "Languages")
                {
                    this.GetLanguages(node2);
                }
                if (node2.Name == "appLocation")
                {
                    this.GetAppLocation(node2);
                }
                if (node2.Name == "IntegratedApplications")
                {
                    this.GetIntegratedApplications(node2);
                }
            }
            if (this.app == null)
            {
                this.app = Hidistro.Core.Configuration.AppLocation.Default();
            }
            if (this.roleConfiguration == null)
            {
                this.roleConfiguration = new Hidistro.Core.Configuration.RolesConfiguration();
            }
        }
Example #2
0
        internal void LoadValuesFromConfigurationXml()
        {
            XmlNode configSection = GetConfigSection("Hishop/Core");
            XmlAttributeCollection attributeCollection = configSection.Attributes;
            GetAttributes(attributeCollection);

            foreach (XmlNode node in configSection.ChildNodes)
            {
                if (node.Name == "Languages")
                {
                    GetLanguages(node);
                }
                if (node.Name == "appLocation")
                {
                    GetAppLocation(node);
                }
                if (node.Name == "IntegratedApplications")
                {
                    GetIntegratedApplications(node);
                }
            }
            if (app == null)
            {
                app = Hidistro.Core.Configuration.AppLocation.Default();
            }
            if (roleConfiguration == null)
            {
                roleConfiguration = new Hidistro.Core.Configuration.RolesConfiguration();
            }
        }