public UserTokenActionViewModel(UserTokenActionViewModelTranslation translation, IUserGuideLauncher userGuideLauncher) { Translation = translation; DisplayName = Translation.DisplayName; Description = Translation.Description; OpenUserGuideCommand = new DelegateCommand(o => userGuideLauncher.ShowHelpTopic(HelpTopic.UserTokens)); }
public UserTokenActionViewModel(ITranslator translator, IUserGuideLauncher userGuideLauncher) { Translator = translator; DisplayName = Translator.GetTranslation("UserTokenActionViewModel", "DisplayName"); Description = Translator.GetTranslation("UserTokenActionViewModel", "Description"); OpenUserGuideCommand = new DelegateCommand(o => userGuideLauncher.ShowHelpTopic(HelpTopic.UserTokens)); }
public UserTokenUserControlViewModel(ITranslationUpdater translationUpdater, ISelectedProfileProvider profile, IUserGuideLauncher userGuideLauncher, IDispatcher dispatcher) : base(translationUpdater, profile, dispatcher) { OpenUserGuideCommand = new DelegateCommand(o => userGuideLauncher?.ShowHelpTopic(HelpTopic.UserTokens)); }
public void ShowHelp(HelpTopic topic) { _userGuideLauncher.ShowHelpTopic(topic); }