public GamePageViewModel(ISentenceService sentenceService, INavigationService navigationService) { _sentenceService = sentenceService; _navigationService = navigationService; Messenger.Default.Register<string>(this, LoadData); }
public DomainViewModel(ISentenceService sentenceService, INavigationService navigationService) { _sentenceService = sentenceService; _navigationService = navigationService; LoadDomains(); }
public WordsController(IWordsService wordsService, IMeaningService meaningService, ISentenceService sentenceService, IMapper mapper) { this.wordsService = wordsService; this.meaningService = meaningService; this.sentenceService = sentenceService; this.mapper = mapper; }
public DesignViewModel() { if (IsInDesignMode) { _sentenceService = new SentenceDesignService(); LoadData(); } }
public SummaryPageViewModel(ISentenceService sentenceService, INavigationService navigationService) { _sentenceService = sentenceService; _navigationService = navigationService; Correct = 3; Incorrect = 5; }
public TextEditViewModel(IPublisherService publisherService, IAudioService audioService, ISentenceTranslateService sentenceTranslateService, IText2AudioService text2AudioService, ITextService textService, ISentenceService sentenceService) { mPublisherService = publisherService; mAudioService = audioService; mSentenceTranslateService = sentenceTranslateService; mText2AudioService = text2AudioService; mTextService = textService; mSentenceService = sentenceService; mTimer.Tick += Callback; mTimer.Interval = new TimeSpan(0, 0, 0, 0, 300); mTimer.Start(); Init(); }
public SentenceController(IMapper mapper, ISentenceService sentenceService) { _mapper = mapper; _sentenceService = sentenceService; }
public ConvertsController(ISentenceService sentenceService) { _sentenceService = sentenceService; }
public SentencesController(ISentenceService sentenceService) { _sentenceService = sentenceService; }