Ejemplo n.º 1
0
        /// <summary>
        ///     Releases unmanaged and optionally managed resources.
        /// </summary>
        /// <param name="disposing">
        ///     <c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only
        ///     unmanaged resources.
        /// </param>
        protected virtual void Dispose(bool disposing)
        {
            if (!IsDisposed)
            {
                if (disposing)
                {
                    if (WebsiteProject != null)
                    {
                        WebsiteProject.Dispose();
                    }
                }

                WebsiteProject = null;
            }

            IsDisposed = true;
        }
Ejemplo n.º 2
0
        protected void OpenWebsite(string websiteProject)
        {
            var projectDirectory = Machine.GetProjectDirectory(websiteProject);

            WebsiteProject = new WebsiteProject(WebDriver, projectDirectory, 1700);
        }