Example #1
0
        internal void LoadValuesFromConfigurationXml()
        {
            XmlNode configSection = this.GetConfigSection("ExhibFlat/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 = ExhibFlat.Core.Configuration.AppLocation.Default();
            }
            if (this.roleConfiguration == null)
            {
                this.roleConfiguration = new ExhibFlat.Core.Configuration.RolesConfiguration();
            }
        }
Example #2
0
 internal void GetAppLocation(XmlNode node)
 {
     this.app = ExhibFlat.Core.Configuration.AppLocation.Create(node);
 }