示例#1
0
 public MangasExceptionHandler(
     IRabbitMqProducer <MangasExceptionPayload> producer,
     IOptions <MangasConfiguration> configuration,
     IHttpContextAccessor accessor)
 {
     this.producer      = producer;
     this.configuration = configuration.Value;
     this.accessor      = accessor;
 }
示例#2
0
 public Startup(IOptions <MangasConfiguration> configuration)
 {
     this.configuration = configuration.Value;
 }
 public void Read(MangasConfiguration configuration)
 {
     Version = configuration.Version;
 }
 public VersionController(IOptions <MangasConfiguration> configuration)
 {
     this.configuration = configuration.Value;
 }