コード例 #1
0
ファイル: PoolConfig.cs プロジェクト: rusingineer/CoiniumServ
 /// <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);
     }
 }
コード例 #2
0
ファイル: PoolConfig.cs プロジェクト: Ziftr/CoiniumServ
 /// <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);
     }
 }