internal void ApplyDefaultsWhereNecessary(string projectName) { if (Deployer == null) Deployer = new TestSiteDeployerOptions(); if (Server == null) Server = new TestSiteServerOptions(); Deployer.ApplyDefaultsWhereNecessary(projectName); }
internal void ApplyDefaultsWhereNecessary(string projectName) { if (Deployer == null) { Deployer = new TestSiteDeployerOptions(); } if (Server == null) { Server = new TestSiteServerOptions(); } Deployer.ApplyDefaultsWhereNecessary(projectName); }
/// <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; }
/// <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(); }
/// <summary> /// Default constructor. /// </summary> public TestSiteOptions() { Deployer = new TestSiteDeployerOptions(); Server = new TestSiteServerOptions(); }