public EnvironmentDescription(string fileName)
{
if (string.IsNullOrEmpty(fileName))
{
throw new ArgumentNullException("fileName");
}
this.fileName = fileName;
this.document = new XmlDocument();
using (XmlReader reader = XmlReader.Create(fileName))
{
this.document.Load(reader);
}
this.navigator = this.document.CreateNavigator();
}