internal LookWithOsm(string apiUrl, SupportedApi api, LookWithOsmAdjustment adjustment) { ApiUrl = apiUrl; switch (api) { case SupportedApi.OverpassApi: ApiClient = new OverpassApiClient(); break; } Adjustment = adjustment; }
internal LookWithOsm(string apiUrl, LookWithOsmAdjustment adjustment, IOsmApiClient apiClient) { ApiUrl = apiUrl; ApiClient = apiClient; Adjustment = adjustment; }
public LookWithOsm(string apiUrl, LookWithOsmAdjustment adjustment) : this(apiUrl, SupportedApi.OverpassApi, adjustment) { }