public DataService( IMapper mapper, IAdDataService serviceClient, IDataFilterRegistry dataFilterRegistry) { _serviceClient = serviceClient; _mapper = mapper; _dataFilterRegistry = dataFilterRegistry; }
public AdDataProxy(IAdDataService service, ObjectCache cacheProvider) { if (service == null) { throw new ArgumentNullException("service"); } if (cacheProvider == null) { throw new ArgumentNullException("cacheProvider"); } this.service = service; this.cacheProvider = cacheProvider; }