Ejemplo n.º 1
0
 private ListProcessStepViewModel(
     ListProcessStepContent content,
     AttachDebuggerContext context)
     : base(context)
 {
     Content        = content;
     RefreshCommand = new ProtectedCommand(() => GetAllProcessesList());
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Create the step that gets the remote machine processes list and attach to one of the processes.
        /// </summary>
        public static ListProcessStepViewModel CreateStep(AttachDebuggerContext context)
        {
            var content = new ListProcessStepContent();
            var step    = new ListProcessStepViewModel(content, context);

            content.DataContext = step;
            return(step);
        }