示例#1
0
        internal void ApplyDefaultsWhereNecessary(string projectName)
        {
            if (Deployer == null)
                Deployer = new TestSiteDeployerOptions();

            if (Server == null)
                Server = new TestSiteServerOptions();

            Deployer.ApplyDefaultsWhereNecessary(projectName);
        }
示例#2
0
        internal void ApplyDefaultsWhereNecessary(string projectName)
        {
            if (Deployer == null)
            {
                Deployer = new TestSiteDeployerOptions();
            }

            if (Server == null)
            {
                Server = new TestSiteServerOptions();
            }

            Deployer.ApplyDefaultsWhereNecessary(projectName);
        }
示例#3
0
 /// <summary>
 /// Creates a new test site server that hosts the application located on the given <paramref name="physicalSitePath"/> using 
 /// options defined in <paramref name="options"/>.
 /// </summary>
 public TestSiteServer(string physicalSitePath, TestSiteServerOptions options)
 {
     _physicalSitePath = physicalSitePath;
     _options = options;
 }
示例#4
0
 /// <summary>
 /// Creates a new test site server that hosts the application located on the given <paramref name="physicalSitePath"/> using 
 /// options defined in <paramref name="options"/>.
 /// </summary>
 public TestSiteServer(string physicalSitePath, TestSiteServerOptions options)
 {
     _physicalSitePath = physicalSitePath;
     _options = options;
     _applicationHostPath = Path.GetTempFileName();
 }
示例#5
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 public TestSiteOptions()
 {
     Deployer = new TestSiteDeployerOptions();
     Server = new TestSiteServerOptions();
 }
示例#6
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 public TestSiteOptions()
 {
     Deployer = new TestSiteDeployerOptions();
     Server   = new TestSiteServerOptions();
 }