private HelpStepViewModel( HelpStepContent content, AttachDebuggerContext context) : base(context) { Content = content; HelpLinkCommand = new ProtectedCommand(() => Process.Start(HelpLink)); }
/// <summary> /// Creates the step that asks user to open online documentation. /// </summary> public static HelpStepViewModel CreateStep(AttachDebuggerContext context) { var content = new HelpStepContent(); var step = new HelpStepViewModel(content, context); content.DataContext = step; return(step); }