public ErrorsExceptionHandler(
     IRabbitMqProducer <ErrorsExceptionPayload> producer,
     IOptions <ErrorsConfiguration> configuration,
     IHttpContextAccessor accessor)
 {
     this.producer      = producer;
     this.configuration = configuration.Value;
     this.accessor      = accessor;
 }
 public VersionController(IOptions <ErrorsConfiguration> configuration)
 {
     this.configuration = configuration.Value;
 }
 public void Read(ErrorsConfiguration configuration)
 {
     Version = configuration.Version;
 }
 public Startup(IOptions <ErrorsConfiguration> configuration)
 {
     this.configuration = configuration.Value;
 }