Affecto.Testing.UI.Selenium.IisExpressProcess.IisExpressProcess C# (CSharp) Метод

IisExpressProcess() публичный Метод

public IisExpressProcess ( string webSiteProjectName ) : System.Diagnostics
webSiteProjectName string
Результат System.Diagnostics
        public IisExpressProcess(string webSiteProjectName)
        {
            IisExpressExecutable executable = new IisExpressExecutable();
            ProcessStartInfo processStartInfo = new ProcessStartInfo
            {
                WindowStyle = ProcessWindowStyle.Hidden,
                ErrorDialog = false,
                LoadUserProfile = true,
                CreateNoWindow = false,
                UseShellExecute = false,
                FileName = executable.FullFileName,
                Arguments = string.Format("/site:{0}", webSiteProjectName)
            };
            StartInfo = processStartInfo;
        }
    }
IisExpressProcess