public LoginViewModel(INavigationService navigation, IShowDialogService showDialogService, IFindieWebApiService findieWebApiService) { this._navigation = navigation; this._showDialogService = showDialogService; this._findieWebApiService = findieWebApiService; this.SetCommands(); }
public MainWindowViewModel(IShowDialogService showDialogService) { _ShowDialogService = showDialogService; // Or do: _ShowDialogService = new ShowDialogService(); // But that's not a good practice and won't let you test // this ViewModel properly. OpenPatientWindowCommand = new DelegateCommand(OnOpenPatientWindowCommandExecute); }
public DialogService( IViewViewModelFactory factory, IShowDialogService showDialog) { Guard.ArgumentNotNull(factory, nameof(factory)); Guard.ArgumentNotNull(showDialog, nameof(showDialog)); this.factory = factory; this.showDialog = showDialog; }
public DialogService( IViewViewModelFactory factory, IShowDialogService showDialog, IGitHubContextService gitHubContextService) { Guard.ArgumentNotNull(factory, nameof(factory)); Guard.ArgumentNotNull(showDialog, nameof(showDialog)); Guard.ArgumentNotNull(showDialog, nameof(gitHubContextService)); this.factory = factory; this.showDialog = showDialog; this.gitHubContextService = gitHubContextService; }
public UserInteraction(IShowDialogService showDialogService, IMvxAndroidCurrentTopActivity topActivityService) { _showDialogService = showDialogService; _topActivityService = topActivityService; }