示例#1
0
 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));
 }
示例#3
0
 public UserTokenUserControlViewModel(ITranslationUpdater translationUpdater, ISelectedProfileProvider profile, IUserGuideLauncher userGuideLauncher, IDispatcher dispatcher) : base(translationUpdater, profile, dispatcher)
 {
     OpenUserGuideCommand = new DelegateCommand(o => userGuideLauncher?.ShowHelpTopic(HelpTopic.UserTokens));
 }
示例#4
0
 public void ShowHelp(HelpTopic topic)
 {
     _userGuideLauncher.ShowHelpTopic(topic);
 }