using Abp.Configuration;
using Abp.Localization;
using Cinotam.AbpModuleZero;
using System.Collections.Generic;

namespace Cinotam.ModuleZero.AppModule
{
    public class ModuleZeroSettingsProvider : SettingProvider
    {
        public override IEnumerable<SettingDefinition> GetSettingDefinitions(SettingDefinitionProviderContext context)
        {
            return new[]
            {
                new SettingDefinition("Theme", "smart-style-0",description:L("ThemeSelector"),scopes:SettingScopes.User),
                new SettingDefinition("WebSiteStatus", "true",description:L("Status")),
                new SettingDefinition("UseSmtp", "false",description:L("Status"))
            };
        }
        private static ILocalizableString L(string name)
        {
            return new LocalizableString(name, AbpModuleZeroConsts.LocalizationSourceName);
        }
    }
}
