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