private void SetDataSource(IPublicSuffixDataSource dataSource) { _dataSource = dataSource; _dataSource.CacheError += (s, e) => CacheError(this, e); _dataSource.DataRefreshError += (s, e) => DataRefreshError(this, e); }
internal PublicSuffixDataStore(IPublicSuffixDataSource dataSource) { SetDataSource(dataSource); }