PHP.Core.ApplicationConfiguration.PathsSection.Parse C# (CSharp) Method

Parse() public method

Loads paths from XML configuration node.
public Parse ( string name, string value, XmlNode node ) : bool
name string
value string
node System.Xml.XmlNode
return bool
			public bool Parse(string name, string value, XmlNode node)
			{
                // determine last configuration modification time:
                this.LastConfigurationModificationTime = ConfigUtils.GetConfigModificationTime(node, this.LastConfigurationModificationTime);

                switch (name)
				{
					case "DynamicWrappers": dynamicWrappers = CheckedPath(value, node); return true;
					case "Libraries": libraries = CheckedPath(value, node); return true;
					case "ExtWrappers": wrappers = CheckedPath(value, node); return true;
					case "ExtTypeDefs": typeDefs = CheckedPath(value, node); return true;
					case "ExtNatives": natives = CheckedPath(value, node); return true;
					case "ExtManager": /*manager = CheckedPath(value, node); // DEPRECATED: will be removed in future versions */  return true;
				}
				return false;
			}
ApplicationConfiguration.PathsSection