CfgCtx.cs 506 B

12345678910111213141516
  1. using System;
  2. using BO.ProcessServer.Business.StatisticCounters;
  3. using BO.ProcessServer.Options;
  4. namespace BO.ProcessServer.Business.Workers.Contexts
  5. {
  6. internal class CfgCtx : BaseCtx
  7. {
  8. public Configuration Configuration { get; }
  9. public CfgCtx(Configuration configuration, Statistics statistics, Pool pool) : base(statistics, pool)
  10. {
  11. Configuration = configuration ?? throw new ArgumentNullException(nameof(configuration));
  12. }
  13. }
  14. }