public ProfilesExceptionHandler(
     IRabbitMqProducer <ProfilesExceptionPayload> producer,
     IOptions <ProfilesConfiguration> configuration,
     IHttpContextAccessor accessor)
 {
     this.producer      = producer;
     this.configuration = configuration.Value;
     this.accessor      = accessor;
 }
示例#2
0
 public VersionController(IOptions <ProfilesConfiguration> configuration)
 {
     this.configuration = configuration.Value;
 }
示例#3
0
 public void Read(ProfilesConfiguration configuration)
 {
     Version = configuration.Version;
 }
 public Startup(IOptions <ProfilesConfiguration> configuration)
 {
     this.configuration = configuration.Value;
 }