Ejemplo n.º 1
0
 public Apis(
     ILoggerFactory log,
     IExceptionFilter exceptionFilter,
     IAuthentication auth,
     IConsentStore consentStore,
     IQueue queue,
     IUserFactory userFactory,
     IVendorClient vendorClient,
     IWithingsClient withingsClient,
     IWithingsToFhirConverter withingsToFhirConverter)
 {
     this.log                     = log.CreateLogger <Apis>();
     this.queue                   = queue;
     this.userFactory             = userFactory;
     this.vendorClient            = vendorClient;
     this.withingsClient          = withingsClient;
     this.withingsToFhirConverter = withingsToFhirConverter;
     this.exceptionFilter         = exceptionFilter;
     this.auth                    = auth;
     this.consentStore            = consentStore;
 }
Ejemplo n.º 2
0
 public Jobs(
     ILoggerFactory log,
     IExceptionFilter exceptionFilter,
     IFhirClient fhirClient,
     IJson json,
     IWithingsClient withingsClient,
     IConsentStore consentStore,
     INotification notification,
     IGuidFactory guidFactory,
     IWithingsToFhirConverter converter)
 {
     this.log             = log.CreateLogger <Jobs>();
     this.exceptionFilter = exceptionFilter;
     this.fhirClient      = fhirClient;
     this.json            = json;
     this.withingsClient  = withingsClient;
     this.consentStore    = consentStore;
     this.notification    = notification;
     this.guidFactory     = guidFactory;
     this.converter       = converter;
 }
 public WithingsVendorClient(IWithingsClient client, IWithingsToFhirConverter converter)
 {
     this.client    = client;
     this.converter = converter;
 }
 public WithingsClientQueryAdapter(IWithingsClient withingsClient)
 {
     _withingsClient = withingsClient;
 }
 public WithingsAuthenticator(ITokenService oAuthService, IWithingsClient withingsClient)
 {
     _oAuthService   = oAuthService;
     _withingsClient = withingsClient;
 }