示例#1
0
 private string Domains() => (SettingsVariable.Get(Variable, "Email_AllowedDomains", "*") ?? "").Trim();
 public override int MaxLength(string loggerName)
 => SettingsVariable.Get(Variable, $"Logging_{loggerName}_MaxLength", DefaultMaxLength.ToString())
 .ToInt(DefaultMaxLength);
示例#3
0
        private IEnumerable <string> GetRecipients(string dynamicKey)
        {
            var recipients = SettingsVariable.Get(Variable, dynamicKey, "");

            return(recipients.SafeSplit(";", true));
        }
 protected override string DynamicHideKeys()
 => SettingsVariable.Get(Variable, "Logging_HideKeys", DefaultHideKeys);
 protected override string DynamicLoggerTypesEnabled(string name)
 => SettingsVariable.Get(Variable, $"Logging_Enabled_{name}_Types", DefaultLogTypes);
 protected override string DynamicLoggersEnabled()
 => SettingsVariable.Get(Variable, "Logging_Enabled_Loggers", DefaultLoggers);
 protected override string DynamicIncludes()
 => SettingsVariable.Get(Variable, "Logging_Includes", DefaultLogIncludes);
 protected override string DynamicTypesEnabled()
 => SettingsVariable.Get(Variable, "Logging_Enabled_Types", DefaultLogTypes);