Exemple #1
0
 public MapSync(IMapWebHandler webHandler, IMapRepository repo, IDevice device, ILogging logging, IIOCacheService cache)
 {
     this.webHandler = webHandler;
     this.repo       = repo;
     this.device     = device;
     this.logging    = logging;
     this.cache      = cache;
 }
Exemple #2
0
 public SettingsViewModel(IMvxNavigationService navigationService, IIOCacheService cacheService, IUserInteractionService userInteraction, IAdunisRepository adunisRepository, INewsRepository newsRepository, IMenuRepository menuRepository, IDevice device)
 {
     this.NavigationService = navigationService;
     this.cacheService      = cacheService;
     this.userInteraction   = userInteraction;
     this.adunisRepository  = adunisRepository;
     this.newsRepository    = newsRepository;
     this.menuRepository    = menuRepository;
     this.device            = device;
 }
 public MapViewModel(IMvxNavigationService navigationService, ISettings settings, IUserInteractionService userInteraction, IDevice device, IMapRepository mapRepository, IMapSync mapSync, IIOCacheService cache)
 {
     this.NavigationService = navigationService;
     this.settings          = settings;
     this.userInteraction   = userInteraction;
     this.device            = device;
     this.mapRepository     = mapRepository;
     this.mapSync           = mapSync;
     this.cache             = cache;
 }
        public NewsRepository(IIOCacheService cache, IDevice device, ISettings settings)
        {
            this.cache    = cache;
            this.device   = device;
            this.settings = settings;
            var folderPath = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
            var dbFilePath = Path.Combine(folderPath, DbName);

            this.conn = new SQLiteConnection(dbFilePath);
            lock (Locking)
            {
                this.conn.CreateTable <SqlNewsFeed>();
                this.conn.CreateTable <SqlNews>();
            }
        }
Exemple #5
0
 public AccountViewModel(
     IMvxNavigationService navigationService,
     IAccountService account,
     IIOCacheService cache,
     IAdunisRepository adunisRepository,
     IAccountBalanceRepository accountBalanceRepository,
     IOAuthUtils oAuth,
     IUserInteractionService userInteraction)
 {
     this.NavigationService        = navigationService;
     this.account                  = account;
     this.cache                    = cache;
     this.adunisRepository         = adunisRepository;
     this.accountBalanceRepository = accountBalanceRepository;
     this.oAuth                    = oAuth;
     this.userInteraction          = userInteraction;
 }
Exemple #6
0
 public ImageLoader(IIOCacheService cacheService)
 {
     this.cacheService = cacheService;
 }
 public ImagePathConverter()
 {
     this.cache = Mvx.Resolve <IIOCacheService>();
 }
Exemple #8
0
 public NewsViewController(IntPtr handle)
     : base(handle)
 {
     this.cache = Mvx.Resolve <IIOCacheService>();
 }
Exemple #9
0
 public ResConverter(IIOCacheService cacheService)
 {
     this.cacheService = cacheService;
 }
Exemple #10
0
 public ResConverter()
 {
     this.cacheService = Mvx.Resolve <IIOCacheService>();
 }