/// <summary> /// Initializes a new instance of the <see cref="MessagingHubDataProvider" /> class. /// </summary> /// <param name="restApiClientFactory">The rest API client factory.</param> /// <param name="appSettings">The application settings.</param> public MessagingHubDataProvider( IRestApiClientFactory restApiClientFactory, IAppSettings appSettings ) { this.restApiClient = restApiClientFactory.Create(appSettings.MessagingHubUrl); }
/// <summary> /// Initializes a new instance of the <see cref="UsersDataProvider"/> class. /// </summary> /// <param name="factory">The factory.</param> /// <param name="appSettings">The application settings.</param> public UsersDataProvider( IRestApiClientFactory factory, IAppSettings appSettings ) { _apiClient = factory.Create(appSettings.TokenServiceUrl); this.appSettings = appSettings; }
/// <summary> /// Initializes a new instance of the <see cref="UsersDataProvider"/> class. /// </summary> /// <param name="factory">The factory.</param> public UsersDataProvider(IRestApiClientFactory factory) { _apiClient = factory.Create(Settings.TokenServiceUrl); }
public HealthLibraryDataProvider(IRestApiClientFactory apiClientFactory) { this.apiClient = apiClientFactory.Create(Settings.HealthLibraryServiceUrl); }
/// <summary> /// Initializes a new instance of the <see cref="VitalsDataProvider" /> class. /// </summary> /// <param name="apiClientFactory">The API client factory.</param> public VitalsDataProvider(IRestApiClientFactory apiClientFactory) { this.apiClient = apiClientFactory.Create(Settings.VitalsServiceUrl); }
/// <summary> /// Initializes a new instance of the <see cref="PatientsDataProvider" /> class. /// </summary> /// <param name="apiClientFactory">The API client factory.</param> public PatientsDataProvider( IRestApiClientFactory apiClientFactory ) { this.apiClient = apiClientFactory.Create(Settings.PatientServiceUrl); }
/// <summary> /// Initializes a new instance of the <see cref="ZoomDataProvider"/> class. /// </summary> /// <param name="apiClientFactory">The API client factory.</param> public ZoomDataProvider(IRestApiClientFactory apiClientFactory) { this.apiClient = apiClientFactory.Create(ZoomSettings.ZoomAPIUrl); }
/// <summary> /// Initializes a new instance of the <see cref="CustomersDataProvider"/> class. /// </summary> /// <param name="apiClientFactory">The API client factory.</param> public CustomersDataProvider(IRestApiClientFactory apiClientFactory) { _apiClient = apiClientFactory.Create(Settings.CustomerServiceUrl); }
/// <summary> /// Initializes a new instance of the <see cref="DevicesDataProvider"/> class. /// </summary> /// <param name="apiClientFactory">The API client factory.</param> public DevicesDataProvider(IRestApiClientFactory apiClientFactory) { this.apiClient = apiClientFactory.Create(Settings.DeviceServiceUrl); }
/// <summary> /// Initializes a new instance of the <see cref="MessagingHubDataProvider" /> class. /// </summary> /// <param name="restApiClientFactory">The rest API client factory.</param> public iHealthDataProvider(IRestApiClientFactory restApiClientFactory, IiHealthSettings iHealthSettings) { this.iHealthSettings = iHealthSettings; this.restApiClient = restApiClientFactory.Create(this.iHealthSettings.iHealthApiUrl); }