Ejemplo n.º 1
0
 /// <summary>
 /// Loads the config options.
 /// </summary>
 private void LoadConfig()
 {
     try
     {
         this._parser = new IniConfigSource(this.FileName);
     }
     catch (Exception)
     {
         Log.Error("Error loading pool config file: {0}", this.FileName);
     }
     finally
     {
         this._parser.ExpandKeyValues();
         this.Pool   = new PoolSection(this._parser);
         this.Wallet = new WalletSection(this._parser);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Loads the config options.
 /// </summary>
 private void LoadConfig()
 {
     try
     {
         this._parser = new IniConfigSource(this.FileName);
     }
     catch (Exception)
     {
         Log.Error("Error loading pool config file: {0}", this.FileName);
     }
     finally
     {
         this._parser.ExpandKeyValues();
         this.Pool = new PoolSection(this._parser);
         this.Wallet = new WalletSection(this._parser);
     }
 }