public GoogleApiUrlFactory(GoogleApiConfig apiConfig) { if (apiConfig == null) { throw new NullReferenceException(nameof(apiConfig)); } _apiConfig = apiConfig; }
public GoogleApi(GoogleApiConfig apiConfig) : this() { _apiConfig = apiConfig; _urlFactory = new GoogleApiUrlFactory(_apiConfig); }