Microsoft.Azure.Devices.Applications.RemoteMonitoring.Common.Configurations.EnvironmentDescription.EnvironmentDescription C# (CSharp) Метод

EnvironmentDescription() публичный Метод

public EnvironmentDescription ( string fileName ) : System
fileName string
Результат System
        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();
        }