public AccountsExceptionHandler(
     IRabbitMqProducer <AccountsExceptionPayload> producer,
     IOptions <AccountsConfiguration> configuration,
     IHttpContextAccessor accessor)
 {
     this.producer      = producer;
     this.configuration = configuration.Value;
     this.accessor      = accessor;
 }
コード例 #2
0
 public VersionController(IOptions <AccountsConfiguration> configuration)
 {
     this.configuration = configuration.Value;
 }
コード例 #3
0
 public void Read(AccountsConfiguration configuration)
 {
     Version = configuration.Version;
 }
コード例 #4
0
 public Startup(IOptions <AccountsConfiguration> configuration)
 {
     this.configuration = configuration.Value;
 }