示例#1
0
 public MyProjectOData(IConfigurationManagerWrapper configurationManager, IHttpClientWrapper httpClientWrapper)
 {
     _httpClientWrapper = httpClientWrapper;
     _httpClientWrapper.Initialize(configurationManager.GetAppSetting("MyProjectODataUrl"), "My Project OData");
 }
示例#2
0
 public MyProjectApi(IConfigurationManagerWrapper configurationManager, IHttpClientWrapper httpClientWrapper)
 {
     _httpClientWrapper = httpClientWrapper;
     _httpClientWrapper.Initialize(configurationManager.GetAppSetting(Constants.Constants.MyProjectApiUrlKey),
                                   Constants.Constants.MyProjectApiName);
 }
 public VehicleIdentificationApi(IConfigurationManagerWrapper configurationManager, IHttpClientWrapper httpClientWrapper)
 {
     _httpClientWrapper = httpClientWrapper;
     _httpClientWrapper.Initialize(configurationManager.GetAppSetting("VehicleIdentificationApiUrl"), "Vehicle Identification Api");
 }
示例#4
0
 public SortingAppApi(IConfigurationManagerWrapper configurationManager, IHttpClientWrapper httpClientWrapper)
 {
     _httpClientWrapper = httpClientWrapper;
     _httpClientWrapper.Initialize(configurationManager.GetAppSetting("SortingAppApiUrl"), "Sorting App Api");
 }