Exemple #1
0
        /// <summary>
        /// Creates the step that installs and starts debugger remote tool.
        /// </summary>
        public static InstallStartRemoteToolStepViewModel CreateStep(AttachDebuggerContext context)
        {
            var content = new InstallStartRemoteToolStepContent();
            var step    = new InstallStartRemoteToolStepViewModel(content, context);

            content.DataContext = step;
            return(step);
        }
Exemple #2
0
 private InstallStartRemoteToolStepViewModel(
     InstallStartRemoteToolStepContent content,
     AttachDebuggerContext context)
     : base(context)
 {
     _installer = new RemoteToolInstaller(
         Context.PublicIp,
         Context.Credential.User,
         Context.Credential.Password,
         ToolsPathProvider.GetRemoteDebuggerToolsPath());
     Content = content;
 }