Exemple #1
0
 private HelpStepViewModel(
     HelpStepContent content,
     AttachDebuggerContext context)
     : base(context)
 {
     Content         = content;
     HelpLinkCommand = new ProtectedCommand(() => Process.Start(HelpLink));
 }
Exemple #2
0
        /// <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);
        }