Ejemplo n.º 1
0
 public ShoppingListApiClient(HttpClient httpClient)
 {
     apiClient = new RestClient(httpClient)
     {
         JsonSerializerSettings =
             new JsonSerializerSettings()
         {
             NullValueHandling = NullValueHandling.Ignore,
             ContractResolver  = new CamelCasePropertyNamesContractResolver()
         }
     }.For <IShoppingListApiClient>();
 }
 public ApiClient(IShoppingListApiClient client)
 {
     this.client = client;
 }