Exemplo n.º 1
0
        protected override void OnSave()
        {
            ProvidersXmlDocument providersXmlDocument = new ProvidersXmlDocument();

            providersXmlDocument.Settings.ConnectionTimeout.Value = this.ConnectionTimeout;
            ((XmlDocument)providersXmlDocument).Save(this.configFile.FullName);
        }
Exemplo n.º 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;
 }
Exemplo n.º 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;
        }
Exemplo n.º 4
0
    protected override void OnSave()
    {
      ProvidersXmlDocument providersXmlDocument = new ProvidersXmlDocument();
			providersXmlDocument.Settings.ConnectionTimeout.Value = this.ConnectionTimeout;
      ((XmlDocument) providersXmlDocument).Save(this.configFile.FullName);
    }