Example #1
0
        protected override void OnSave()
        {
            ProvidersXmlDocument providersXmlDocument = new ProvidersXmlDocument();

            providersXmlDocument.Settings.ConnectionTimeout.Value = this.ConnectionTimeout;
            ((XmlDocument)providersXmlDocument).Save(this.configFile.FullName);
        }
Example #2
0
 protected override void OnLoad()
 {
   if (!this.configFile.Exists)
     return;
   ProvidersXmlDocument providersXmlDocument = new ProvidersXmlDocument();
   ((XmlDocument) providersXmlDocument).Load(this.configFile.FullName);
   this.ConnectionTimeout = providersXmlDocument.Settings.ConnectionTimeout.Value;
 }
Example #3
0
        protected override void OnLoad()
        {
            if (!this.configFile.Exists)
            {
                return;
            }
            ProvidersXmlDocument providersXmlDocument = new ProvidersXmlDocument();

            ((XmlDocument)providersXmlDocument).Load(this.configFile.FullName);
            this.ConnectionTimeout = providersXmlDocument.Settings.ConnectionTimeout.Value;
        }
Example #4
0
    protected override void OnSave()
    {
      ProvidersXmlDocument providersXmlDocument = new ProvidersXmlDocument();
			providersXmlDocument.Settings.ConnectionTimeout.Value = this.ConnectionTimeout;
      ((XmlDocument) providersXmlDocument).Save(this.configFile.FullName);
    }