public CommitmentService(IApiClient apiClient, IOptions <CommitmentsApiConfiguration> options)
 {
     _apiClient = apiClient;
     _config    = options.Value;
 }
Esempio n. 2
0
 private void ConfigureHashingService(CommitmentsApiConfiguration config)
 {
     For <IHashingService>().Use(x => new HashingService.HashingService(config.AllowedHashstringCharacters, config.Hashstring));
 }