/// <summary>
        /// Adds the settings.
        /// </summary>
        /// <param name="configuration">The configuration.</param>
        /// <param name="valueBuilder">The value builder.</param>
        protected override void AddSettings(Configuration configuration, ConfigurationValueBuilder valueBuilder)
        {
            base.AddSettings(configuration, valueBuilder);

            configuration.AddSetting(valueBuilder.BuildForceDirectoryValue("TemplateDirectory"));
            configuration.AddSetting(valueBuilder.BuildValueConverter("TerminationSleepInterval", false, typeof(int), 5000));
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Adds the settings.
        /// </summary>
        /// <param name="configuration">The configuration.</param>
        /// <param name="valueBuilder">The value builder.</param>
        protected override void AddSettings(BusinessLayer.Core.Configuration.Configuration configuration, ConfigurationValueBuilder valueBuilder)
        {
            base.AddSettings(configuration, valueBuilder);

            configuration.AddSetting(valueBuilder.BuildForceDirectoryValue("TemplateDirectory"));
            configuration.AddSetting(valueBuilder.BuildForceDirectoryValue("ExportDirectory"));
            configuration.AddSetting(valueBuilder.BuildForceDirectoryValue("ExportTestDirectory"));
            configuration.AddSetting(valueBuilder.BuildForceDirectoryValue("TempFileDirectory"));
            configuration.AddSetting(valueBuilder.BuildStringValue("SharePointURLExtended", false, string.Empty));
            configuration.AddSetting(valueBuilder.BuildStringValue("SharePointURL", false, string.Empty));
            configuration.AddSetting(valueBuilder.BuildStringValue("SharePointDomain", false, string.Empty));
            configuration.AddSetting(valueBuilder.BuildStringValue("SharePointPassword", false, string.Empty));
            configuration.AddSetting(valueBuilder.BuildStringValue("SharePointUserName", false, string.Empty));
            configuration.AddSetting(valueBuilder.BuildValueConverter("MustExportReportFilesToSharepoint", false, typeof(bool), false));
        }