示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WebManager"/> class.
 /// </summary>
 /// <param name="options">The install options.</param>
 /// <param name="variables">A cache of install variables.</param>
 /// <param name="installLogger">Logs installation results.</param>
 public WebManager(InstallOptions options, InstallVariables variables, InstallLogger installLogger)
 {
     this.installOptions = options;
     this.installVariables = variables;
     this.installLogger = installLogger;
     this.siteName = this.installOptions.RootSite != null ? string.Format("{0}/{1}", this.installOptions.HostName, this.installOptions.WebsiteName) : this.installOptions.WebsiteName;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DatabaseInitialiser"/> class.
 /// </summary>
 /// <param name="mongoConfiguration">The MongoDB configuration settings.</param>
 /// <param name="installOptions">The database install options.</param>
 /// <param name="variables">A cache of install variables.</param>
 /// <param name="installLogger">Logs installation results.</param>
 public DatabaseInitialiser(IMongoConfiguration mongoConfiguration, DatabaseInitialiserOptions installOptions, InstallVariables variables, InstallLogger installLogger)
 {
     this.mongoConfiguration = mongoConfiguration;
     this.installConfiguration = installOptions;
     this.installVariables = variables;
     this.installLogger = installLogger;
     this.ReadInput = delegate { return string.Empty; };
     this.ReadPassword = delegate { return string.Empty; };
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ScheduledTaskManager"/> class.
 /// </summary>
 /// <param name="options">The install options.</param>
 /// <param name="variables">A cache of install variables.</param>
 /// <param name="installLogger">Logs installation results.</param>
 public ScheduledTaskManager(InstallOptions options, InstallVariables variables, InstallLogger installLogger)
 {
     this.installOptions = options;
     this.installVariables = variables;
     this.installLogger = installLogger;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ConfigurationUpdater"/> class.
 /// </summary>
 /// <param name="installOptions">The install options.</param>
 /// <param name="installVariables">A cache of install variables.</param>
 public ConfigurationUpdater(InstallOptions installOptions, InstallVariables installVariables)
 {
     this.installOptions = installOptions;
     this.installVariables = installVariables;
 }