private ListProcessStepViewModel( ListProcessStepContent content, AttachDebuggerContext context) : base(context) { Content = content; RefreshCommand = new ProtectedCommand(() => GetAllProcessesList()); }
/// <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); }