/// <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); } }
/// <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); } }