public TimeZoneService( ISettingManager settingManager, ISettingDefinitionManager settingDefinitionManager) { _settingManager = settingManager; _settingDefinitionManager = settingDefinitionManager; }
// // GET: /Services/ public ServicesController(IViewModelBuilder wishListBuilder, IPathBarGenerator pathBarGenerator, IUserMailer userMailer,ISettingManager settingManager) { this.wishListBuilder = wishListBuilder; this.pathBarGenerator = pathBarGenerator; this.userMailer = userMailer; this.settingManager = settingManager; }
public AbpUserConfigurationBuilder( IMultiTenancyConfig multiTenancyConfig, ILanguageManager languageManager, ILocalizationManager localizationManager, IFeatureManager featureManager, IFeatureChecker featureChecker, IPermissionManager permissionManager, IUserNavigationManager userNavigationManager, ISettingDefinitionManager settingDefinitionManager, ISettingManager settingManager, IAbpAntiForgeryConfiguration abpAntiForgeryConfiguration, IAbpSession abpSession, IPermissionChecker permissionChecker) { _multiTenancyConfig = multiTenancyConfig; _languageManager = languageManager; _localizationManager = localizationManager; _featureManager = featureManager; _featureChecker = featureChecker; _permissionManager = permissionManager; _userNavigationManager = userNavigationManager; _settingDefinitionManager = settingDefinitionManager; _settingManager = settingManager; _abpAntiForgeryConfiguration = abpAntiForgeryConfiguration; _abpSession = abpSession; _permissionChecker = permissionChecker; }
public BestOffer(IUserMailer userMailer, ISettingManager settingManager, IJewelRepository jewelRepository, IMappingEngine mapper) { this.userMailer = userMailer; this.settingManager = settingManager; this.jewelRepository = jewelRepository; this.mapper = mapper; }
public MediaFactory(string itemNumber, ISettingManager settingManager) { this.itemNumber = itemNumber; this.settingManager = settingManager; conventionMetalPrefix = "wg"; currentMediaSet = JewelMediaType.WhiteGold; }
public HostSettingsAppService_EmailSettings_Test() { _hostSettingsAppService = Resolve<IHostSettingsAppService>(); _settingManager = Resolve<ISettingManager>(); LoginAsHostAdmin(); InitializeTestSettings(); }
public TenantSettingsAppService_Tests() { _tenantSettingsAppService = Resolve<ITenantSettingsAppService>(); _settingManager = Resolve<ISettingManager>(); LoginAsDefaultTenantAdmin(); InitializeTestSettings(); }
public DbContext(IEnumerable<IDataProvider> dataProviders, ICacheProvider cacheProvider, ISettingManager settingManager) { _dataProviders = dataProviders; _cacheProvider = cacheProvider; _settingManager = settingManager; Logger = NullLogger.Instance; }
public InitialController( ISettingManager settingManager, IDatabaseSetup databaseSetup, IUserSetup userSetup) { _settingManager = settingManager; _databaseSetup = databaseSetup; _userSetup = userSetup; Logger = NullLogger.Instance; }
public JewelRepository(ISettingManager settingManager) { this.settingManager = settingManager; //defaults itemsPerPage = 21; page = 1; orderBy = new DynamicOrderBy("price","desc"); currentPage = 1; requestedJewelMediaTypeByUser = JewelMediaType.All; }
public void Initialize() { // string connectionString = "server=localhost;user=dbuser;password=dbpassword;initial catalog=MyDatabase;"; NDbUnit.Core.INDbUnitTest mySqlDatabase = new NDbUnit.Core.SqlClient.SqlDbUnitTest(connectionString); mySqlDatabase.ReadXmlSchema(@"DBFixtures/JewelryItems.xsd"); mySqlDatabase.ReadXml(@"DBFixtures/JewelryItemsAllCategories.xml"); mySqlDatabase.PerformDbOperation(NDbUnit.Core.DbOperationFlag.CleanInsertIdentity); settingManager = MockRepository.GenerateStub<ISettingManager>(); }
/// <summary> /// Gets current value of a setting for the application level. /// </summary> /// <param name="settingManager">Setting manager</param> /// <param name="name">Unique name of the setting</param> /// <returns>Current value of the setting for the application</returns> public static async Task <T> GetSettingValueForApplicationAsync <T>(this ISettingManager settingManager, string name) where T : struct { return((await settingManager.GetSettingValueForApplicationAsync(name)).To <T>()); }
/// <summary> /// Gets a list of all setting values specified for a tenant. /// It returns only settings those are explicitly set for the tenant. /// If a setting's default value is used, it's not included the result list. /// If you want to get current values of all settings, use <see cref="GetAllSettingValues"/> method. /// </summary> /// <param name="settingManager">Setting manager</param> /// <param name="tenantId">Tenant to get settings</param> /// <returns>List of setting values</returns> public static IReadOnlyList <ISettingValue> GetAllSettingValuesForTenant(this ISettingManager settingManager, int tenantId) { return(AsyncHelper.RunSync(() => settingManager.GetAllSettingValuesForTenantAsync(tenantId))); }
/// <summary> /// Gets current value of a setting for the application level. /// </summary> /// <typeparam name="T">Type of the setting to get</typeparam> /// <param name="settingManager">Setting manager</param> /// <param name="name">Unique name of the setting</param> /// <returns>Current value of the setting for the application</returns> public static T GetSettingValueForApplication <T>(this ISettingManager settingManager, string name) where T : struct { return(AsyncHelper.RunSync(() => settingManager.GetSettingValueForApplicationAsync <T>(name))); }
/// <summary> /// Initializes a new instance of the <see cref="OrganizationUnitSettings"/> class. /// </summary> public OrganizationUnitSettings(ISettingManager settingManager) { _settingManager = settingManager; }
public AbpZeroTemplateSmtpEmailSenderConfiguration(ISettingManager settingManager) : base(settingManager) { }
/// <summary> /// Gets current value of a setting for a tenant level. /// It gets the setting value, overwritten by given tenant. /// </summary> /// <typeparam name="T">Type of the setting to get</typeparam> /// <param name="settingManager">Setting manager</param> /// <param name="name">Unique name of the setting</param> /// <param name="tenantId">Tenant id</param> /// <returns>Current value of the setting</returns> public static T GetSettingValueForTenant <T>(this ISettingManager settingManager, string name, int tenantId) where T : struct { return(AsyncHelper.RunSync(() => settingManager.GetSettingValueForTenantAsync <T>(name, tenantId))); }
public EmailSettingsAppService(ISettingManager settingManager) { SettingManager = settingManager; }
public async Task UpdateAllSettings(TenantSettingsEditDto input) { string domain; string userName; string password; ISettingManager settingManager = this.SettingManager; int tenantId = this.AbpSession.GetTenantId(); bool allowSelfRegistration = input.UserManagement.AllowSelfRegistration; await settingManager.ChangeSettingForTenantAsync(tenantId, "App.UserManagement.AllowSelfRegistration", allowSelfRegistration.ToString(CultureInfo.InvariantCulture).ToLower(CultureInfo.InvariantCulture)); ISettingManager settingManager1 = this.SettingManager; int num = this.AbpSession.GetTenantId(); allowSelfRegistration = input.UserManagement.IsNewRegisteredUserActiveByDefault; await settingManager1.ChangeSettingForTenantAsync(num, "App.UserManagement.IsNewRegisteredUserActiveByDefault", allowSelfRegistration.ToString(CultureInfo.InvariantCulture).ToLower(CultureInfo.InvariantCulture)); ISettingManager settingManager2 = this.SettingManager; int tenantId1 = this.AbpSession.GetTenantId(); allowSelfRegistration = input.UserManagement.IsEmailConfirmationRequiredForLogin; await settingManager2.ChangeSettingForTenantAsync(tenantId1, "Abp.Zero.UserManagement.IsEmailConfirmationRequiredForLogin", allowSelfRegistration.ToString(CultureInfo.InvariantCulture).ToLower(CultureInfo.InvariantCulture)); ISettingManager settingManager3 = this.SettingManager; int num1 = this.AbpSession.GetTenantId(); allowSelfRegistration = input.UserManagement.UseCaptchaOnRegistration; await settingManager3.ChangeSettingForTenantAsync(num1, "App.UserManagement.UseCaptchaOnRegistration", allowSelfRegistration.ToString(CultureInfo.InvariantCulture).ToLower(CultureInfo.InvariantCulture)); ISettingManager settingManager4 = this.SettingManager; int tenantId2 = this.AbpSession.GetTenantId(); allowSelfRegistration = input.UserManagement.RequireOnePhoneNumberForRegistration; await settingManager4.ChangeSettingForTenantAsync(tenantId2, "App.UserManagement.RequireOnePhoneNumberForRegistration", allowSelfRegistration.ToString(CultureInfo.InvariantCulture).ToLower(CultureInfo.InvariantCulture)); ISettingManager settingManager5 = this.SettingManager; int num2 = this.AbpSession.GetTenantId(); allowSelfRegistration = input.UserManagement.SendEmailAfterRegistration; await settingManager5.ChangeSettingForTenantAsync(num2, "App.UserManagement.SendEmailAfterRegistration", allowSelfRegistration.ToString(CultureInfo.InvariantCulture).ToLower(CultureInfo.InvariantCulture)); await this.SettingManager.ChangeSettingForTenantAsync(this.AbpSession.GetTenantId(), "App.UserManagement.SendEmailAfterRegistrationMessage", input.UserManagement.SendEmailAfterRegistrationMessage.ToString(CultureInfo.InvariantCulture).ToLower(CultureInfo.InvariantCulture)); ISettingManager settingManager6 = this.SettingManager; int tenantId3 = this.AbpSession.GetTenantId(); allowSelfRegistration = input.UserManagement.EnableEmergencyDeliveryFees; await settingManager6.ChangeSettingForTenantAsync(tenantId3, "App.UserManagment.EnableEmergencyDeliveryFees", allowSelfRegistration.ToString(CultureInfo.InvariantCulture).ToLower(CultureInfo.InvariantCulture)); if (!this._multiTenancyConfig.IsEnabled) { input.ValidateHostSettings(); await this.SettingManager.ChangeSettingForApplicationAsync("App.General.WebSiteRootAddress", input.General.WebSiteRootAddress.EnsureEndsWith('/')); await this.SettingManager.ChangeSettingForApplicationAsync("Abp.Net.Mail.DefaultFromAddress", input.Email.DefaultFromAddress); await this.SettingManager.ChangeSettingForApplicationAsync("Abp.Net.Mail.DefaultFromDisplayName", input.Email.DefaultFromDisplayName); await this.SettingManager.ChangeSettingForApplicationAsync("Abp.Net.Mail.Smtp.Host", input.Email.SmtpHost); ISettingManager settingManager7 = this.SettingManager; int smtpPort = input.Email.SmtpPort; await settingManager7.ChangeSettingForApplicationAsync("Abp.Net.Mail.Smtp.Port", smtpPort.ToString(CultureInfo.InvariantCulture)); await this.SettingManager.ChangeSettingForApplicationAsync("Abp.Net.Mail.Smtp.UserName", input.Email.SmtpUserName); await this.SettingManager.ChangeSettingForApplicationAsync("Abp.Net.Mail.Smtp.Password", input.Email.SmtpPassword); await this.SettingManager.ChangeSettingForApplicationAsync("Abp.Net.Mail.Smtp.Domain", input.Email.SmtpDomain); ISettingManager settingManager8 = this.SettingManager; allowSelfRegistration = input.Email.SmtpEnableSsl; await settingManager8.ChangeSettingForApplicationAsync("Abp.Net.Mail.Smtp.EnableSsl", allowSelfRegistration.ToString(CultureInfo.InvariantCulture).ToLower(CultureInfo.InvariantCulture)); ISettingManager settingManager9 = this.SettingManager; allowSelfRegistration = input.Email.SmtpUseDefaultCredentials; await settingManager9.ChangeSettingForApplicationAsync("Abp.Net.Mail.Smtp.UseDefaultCredentials", allowSelfRegistration.ToString(CultureInfo.InvariantCulture).ToLower(CultureInfo.InvariantCulture)); if (this._ldapModuleConfig.IsEnabled) { ISettingManager settingManager10 = this.SettingManager; int num3 = this.AbpSession.GetTenantId(); allowSelfRegistration = input.Ldap.IsEnabled; await settingManager10.ChangeSettingForTenantAsync(num3, "Abp.Zero.Ldap.IsEnabled", allowSelfRegistration.ToString(CultureInfo.InvariantCulture).ToLower(CultureInfo.InvariantCulture)); ISettingManager settingManager11 = this.SettingManager; int tenantId4 = this.AbpSession.GetTenantId(); if (input.Ldap.Domain.IsNullOrWhiteSpace()) { domain = null; } else { domain = input.Ldap.Domain; } await settingManager11.ChangeSettingForTenantAsync(tenantId4, "Abp.Zero.Ldap.Domain", domain); ISettingManager settingManager12 = this.SettingManager; int num4 = this.AbpSession.GetTenantId(); if (input.Ldap.UserName.IsNullOrWhiteSpace()) { userName = null; } else { userName = input.Ldap.UserName; } await settingManager12.ChangeSettingForTenantAsync(num4, "Abp.Zero.Ldap.UserName", userName); ISettingManager settingManager13 = this.SettingManager; int tenantId5 = this.AbpSession.GetTenantId(); if (input.Ldap.Password.IsNullOrWhiteSpace()) { password = null; } else { password = input.Ldap.Password; } await settingManager13.ChangeSettingForTenantAsync(tenantId5, "Abp.Zero.Ldap.Password", password); } } if (input.Details != null) { if (input.Details.TenantId == 0) { input.Details.TenantId = this.AbpSession.GetTenantId(); } TenantDetail nullable = input.Details.MapTo <TenantDetail>(); double? longitude = nullable.Longitude; if (longitude.HasValue) { longitude = nullable.Latitude; if (longitude.HasValue) { goto Label0; } } string empty = string.Empty; if (nullable.CountryRegionId.HasValue) { IRepository <CountryRegion> repository = this._countryRegionRepository; int?countryRegionId = nullable.CountryRegionId; empty = (await repository.GetAsync(countryRegionId.Value)).Code; } string[] address = new string[] { nullable.Address, ",", nullable.City, ",", empty, ",", nullable.PostalCode }; string str = string.Concat(address); XDocument xDocument = XDocument.Load(WebRequest.Create(string.Format("http://maps.google.com/maps/api/geocode/xml?address={0}&sensor=false", str.Replace(",,", ",").Replace(" ", "+"))).GetResponse().GetResponseStream()); if (!xDocument.ToString().Contains("<GeocodeResponse>") || xDocument.ToString().Contains("ZERO_RESULTS")) { longitude = null; nullable.Longitude = longitude; longitude = null; nullable.Latitude = longitude; nullable.Location = null; } else { XElement xElement = xDocument.Element("GeocodeResponse").Element("result").Element("geometry").Element("location"); nullable.Latitude = new double?(double.Parse(xElement.Element("lat").Value)); nullable.Longitude = new double?(double.Parse(xElement.Element("lng").Value)); } xDocument = null; Label0: TenantDetail tenantDetail = nullable; longitude = nullable.Longitude; object value = longitude.Value; longitude = nullable.Latitude; tenantDetail.Location = DbGeography.PointFromText(string.Format("POINT({0} {1})", value, longitude.Value), 4326); await this._tenantDetailRepository.InsertOrUpdateAsync(nullable); nullable = null; } if (input.CustomerService != null) { if (input.CustomerService.TenantId == 0) { input.CustomerService.TenantId = this.AbpSession.GetTenantId(); } await this._tenantCustomerServicesRepository.InsertOrUpdateAsync(input.CustomerService.MapTo <TenantCustomerService>()); } if (input.Hours != null) { if (input.CustomerService.TenantId == 0) { input.CustomerService.TenantId = this.AbpSession.GetTenantId(); } await this._tenantHoursRepository.InsertOrUpdateAsync(input.Hours.MapTo <TenantHour>()); } if (input.Notifications != null) { input.ValidateEmailLists(); if (input.Notifications.TenantId == 0) { input.Notifications.TenantId = this.AbpSession.GetTenantId(); } await this._tenantNotificationsRepository.InsertOrUpdateAsync(input.Notifications.MapTo <TenantNotifications>()); } if (input.PaymentSettings != null) { if (input.PaymentSettings.TenantId == 0) { input.PaymentSettings.TenantId = this.AbpSession.GetTenantId(); } await this._tenantPaymentSettingsRepository.InsertOrUpdateAsync(input.PaymentSettings.MapTo <TenantPaymentSettings>()); } if (input.PaymentGatewaySettings != null) { if (input.PaymentGatewaySettings.TenantId == 0) { input.PaymentGatewaySettings.TenantId = this.AbpSession.GetTenantId(); } await this._tenantPaymentGatewaySettingsRepository.InsertOrUpdateAsync(input.PaymentGatewaySettings.MapTo <TenantPaymentGatewaySettings>()); } if (input.DateTimeSettings != null) { if (input.DateTimeSettings.TenantId == 0) { input.DateTimeSettings.TenantId = this.AbpSession.GetTenantId(); } await this._tenantDateTimeSettingsRepository.InsertOrUpdateAsync(input.DateTimeSettings.MapTo <TenantDateTimeSettings>()); } }
public UiThemeCustomizerBase(ISettingManager settingManager, string themeName) { SettingManager = settingManager; ThemeName = themeName; }
public WebUrlService(ISettingManager settingManager) { _settingManager = settingManager; }
/// <summary> /// Gets current value of a setting for a tenant level. /// It gets the setting value, overwritten by given tenant. /// </summary> /// <param name="settingManager">Setting manager</param> /// <param name="name">Unique name of the setting</param> /// <param name="tenantId">Tenant id</param> /// <returns>Current value of the setting</returns> public static string GetSettingValueForTenant(this ISettingManager settingManager, string name, int tenantId) { return(AsyncHelper.RunSync(() => settingManager.GetSettingValueForTenantAsync(name, tenantId))); }
/// <summary> /// Gets current value of a setting for the application level. /// </summary> /// <param name="settingManager">Setting manager</param> /// <param name="name">Unique name of the setting</param> /// <returns>Current value of the setting for the application</returns> public static string GetSettingValueForApplication(this ISettingManager settingManager, string name) { return(AsyncHelper.RunSync(() => settingManager.GetSettingValueForApplicationAsync(name))); }
/// <summary> /// Gets current value of a setting for a user level. /// It gets the setting value, overwritten by given tenant and user. /// </summary> /// <param name="settingManager">Setting manager</param> /// <param name="name">Unique name of the setting</param> /// <param name="tenantId">Tenant id</param> /// <param name="userId">User id</param> /// <returns>Current value of the setting for the user</returns> public static async Task <T> GetSettingValueForUserAsync <T>(this ISettingManager settingManager, string name, int?tenantId, long userId) where T : struct { return((await settingManager.GetSettingValueForUserAsync(name, tenantId, userId)).To <T>()); }
/// <summary> /// Gets a list of all setting values specified for the application. /// It returns only settings those are explicitly set for the application. /// If a setting's default value is used, it's not included the result list. /// If you want to get current values of all settings, use <see cref="GetAllSettingValues"/> method. /// </summary> /// <param name="settingManager">Setting manager</param> /// <returns>List of setting values</returns> public static IReadOnlyList <ISettingValue> GetAllSettingValuesForApplication(this ISettingManager settingManager) { return(AsyncHelper.RunSync(settingManager.GetAllSettingValuesForApplicationAsync)); }
/// <summary> /// Creates a new <see cref="SmtpEmailSenderConfiguration"/>. /// 构造函数 /// </summary> /// <param name="settingManager">Setting manager 设置管理类</param> public SmtpEmailSenderConfiguration(ISettingManager settingManager) : base(settingManager) { }
public RightSideBarViewComponent(ISettingManager settingManager) { _settingManager = settingManager; }
/// <summary> /// Changes setting for a Tenant. /// </summary> /// <param name="settingManager">Setting manager</param> /// <param name="tenantId">TenantId</param> /// <param name="name">Unique name of the setting</param> /// <param name="value">Value of the setting</param> public static void ChangeSettingForTenant(this ISettingManager settingManager, int tenantId, string name, string value) { AsyncHelper.RunSync(() => settingManager.ChangeSettingForTenantAsync(tenantId, name, value)); }
public Theme9UiCustomizer(ISettingManager settingManager) : base(settingManager, AppConsts.Theme9) { }
/// <summary> /// Changes setting for the application level. /// </summary> /// <param name="settingManager">Setting manager</param> /// <param name="name">Unique name of the setting</param> /// <param name="value">Value of the setting</param> public static void ChangeSettingForApplication(this ISettingManager settingManager, string name, string value) { AsyncHelper.RunSync(() => settingManager.ChangeSettingForApplicationAsync(name, value)); }
/// <summary> /// Gets current value of a setting for a user level. /// It gets the setting value, overwritten by given tenant and user. /// </summary> /// <typeparam name="T">Type of the setting to get</typeparam> /// <param name="settingManager">Setting manager</param> /// <param name="name">Unique name of the setting</param> /// <param name="tenantId">Tenant id</param> /// <param name="userId">User id</param> /// <returns>Current value of the setting for the user</returns> public static T GetSettingValueForUser <T>(this ISettingManager settingManager, string name, int?tenantId, long userId) where T : struct { return(AsyncHelper.RunSync(() => settingManager.GetSettingValueForUserAsync <T>(name, tenantId, userId))); }
public TimingScriptManager(ISettingManager settingManager) { _settingManager = settingManager; }
public Settings_Tests() { _settingManager = LocalIocManager.Resolve<ISettingManager>(); _settingRepository = LocalIocManager.Resolve<IRepository<Setting, long>>(); }
/// <summary> /// Gets a list of all setting values specified for a user. /// It returns only settings those are explicitly set for the user. /// If a setting's value is not set for the user (for example if user uses the default value), it's not included the result list. /// If you want to get current values of all settings, use <see cref="GetAllSettingValues"/> method. /// </summary> /// <param name="settingManager">Setting manager</param> /// <param name="userId">User to get settings</param> /// <returns>All settings of the user</returns> public static IReadOnlyList <ISettingValue> GetAllSettingValuesForUser(this ISettingManager settingManager, long userId) { return(AsyncHelper.RunSync(() => settingManager.GetAllSettingValuesForUserAsync(userId))); }
public ThemeDefaultUiCustomizer(ISettingManager settingManager) : base(settingManager, AppConsts.ThemeDefault) { }
public SettingScriptManager(ISettingDefinitionManager settingDefinitionManager, ISettingManager settingManager) { _settingDefinitionManager = settingDefinitionManager; _settingManager = settingManager; }
public SmtpEmailSenderSettings(ISettingManager settingManager) { SettingManager = settingManager; AbpSession = NullAbpSession.Instance; }
/// <summary> /// Changes setting for a user. /// </summary> /// <param name="settingManager">Setting manager</param> /// <param name="userId">UserId</param> /// <param name="name">Unique name of the setting</param> /// <param name="value">Value of the setting</param> public static void ChangeSettingForUser(this ISettingManager settingManager, long userId, string name, string value) { AsyncHelper.RunSync(() => settingManager.ChangeSettingForUserAsync(userId, name, value)); }
/// <summary> /// Creates a new <see cref="SmtpEmailSenderConfiguration" />. /// </summary> /// <param name="settingManager">Setting manager</param> public SmtpEmailSenderConfiguration(ISettingManager settingManager) : base(settingManager) { }
public PhoneBookDemoSmtpEmailSenderConfiguration(ISettingManager settingManager) : base(settingManager) { }
public LdapSettings(ISettingManager settingManager) { _settingManager = settingManager; }
public static Task <List <SettingValue> > GetAllDefaultAsync(this ISettingManager settingManager, bool fallback = true) { return(settingManager.GetAllAsync(DefaultValueSettingValueProvider.ProviderName, null, fallback)); }
public TaskeverEmailSettingsDefinition_Tests():base() { SettingManager = Resolve<ISettingManager>(); }
public static Task <string> GetOrNullDefaultAsync(this ISettingManager settingManager, [NotNull] string name, bool fallback = true) { return(settingManager.GetOrNullAsync(name, DefaultValueSettingValueProvider.ProviderName, null, fallback)); }
public WebUrlService(ISettingManager settingManager) { _settingManager = settingManager; }
public VerificationCodeAppService(ICacheManager cacheManager, ISettingManager settingManager) { _cacheManager = cacheManager; _settingManager = settingManager; }
/// <summary> /// Constructor /// </summary> /// <param name="settingManager"></param> public TimeZoneConverter(ISettingManager settingManager) { _settingManager = settingManager; }
public SettingManager_User_Tests() { _settingManager = GetRequiredService <ISettingManager>(); _settingProvider = GetRequiredService <ISettingProvider>(); _testData = GetRequiredService <SettingTestData>(); }
public SubdomainTenancyNameFinder(ISettingManager settingManager, IMultiTenancyConfig multiTenancyConfig) { _settingManager = settingManager; _multiTenancyConfig = multiTenancyConfig; }
public ThemeSettingsAppService(ISettingProvider settingProvider, ISettingManager settingManager) { _settingProvider = settingProvider; _settingManager = settingManager; }
/// <summary> /// Creates a new <see cref="EmailSenderConfiguration"/>. /// 构造函数 /// </summary> /// <param name="settingManager">设置管理类</param> protected EmailSenderConfiguration(ISettingManager settingManager) { SettingManager = settingManager; }
public LdapSettings(ISettingManager settingManager) { SettingManager = settingManager; }