Esempio n. 1
0
 public ProblemPageViewModel(IProblemStorage problemStorage, Utils utils,
                             IContentNavigationService contentNavigationService,
                             IChapter2NameService chapter2NameService)
 {
     _problemStorage           = problemStorage;
     _contentNavigationService = contentNavigationService;
     _utils               = utils;
     _tapCommand          = new Command(OnTapped);
     _doubleTapCommand    = new Command(OnDoubleTapped);
     _chapter2NameService = chapter2NameService;
     _settingCommand      = new Command(OnClickedSetting);
 }
Esempio n. 2
0
 public Utils(IChapter2NameService chapter2NameService)
 {
     chapter2NameService.InitializeAsync();
     _chapter2NameService = chapter2NameService;
 }