protected Pool(Configuration.Config config) { NrOfInstances = config.GetInt("nr-of-instances"); Resizer = DefaultResizer.FromConfig(config); UsePoolDispatcher = config.HasPath("pool-dispatcher"); // ReSharper restore DoNotCallOverridableMethodsInConstructor }
protected Pool(Configuration.Config config) { NrOfInstances = config.GetInt("nr-of-instances"); Resizer = DefaultResizer.FromConfig(config); UsePoolDispatcher = config.HasPath("pool-dispatcher"); }