Exemplo n.º 1
0
 public DataServiceFactory(ILocationContextFactory dataContextFactory,
                           IAppSettingsProvider appSettingsProvider,
                           IWebClient webClient,
                           IBitmapConverter bitmapConverter,
                           IMiniaturesCache miniaturesCache)
 {
     _dataContextFactory  = dataContextFactory;
     _appSettingsProvider = appSettingsProvider;
     _webClient           = webClient;
     _bitmapConverter     = bitmapConverter;
     _miniaturesCache     = miniaturesCache;
 }
Exemplo n.º 2
0
 private void SetUp()
 {
     _factory = Substitute.For <ILocationContextFactory>();
     _context = Substitute.For <ILocationContext>();
     _factory.Create().Returns(_context);
 }
Exemplo n.º 3
0
 public LocationDataService(ILocationContextFactory dataContextFactory)
 {
     _dataContextFactory = dataContextFactory;
 }