# Class LdapConfigValidator

Namespace
  adas_core.LdapLogin.Configuration

Assembly
  adas-core.LdapLogin.dll

Validator for LdapConfig. Ensures that all required properties are set and valid.

    public class LdapConfigValidator : AbstractValidator<LdapConfig>, IValidator<LdapConfig>, IValidator, IEnumerable<IValidationRule>, IEnumerable

Inheritance
  object
  AbstractValidator<LdapConfig>
  LdapConfigValidator

Implements
  IValidator<LdapConfig>
  IValidator
  IEnumerable<IValidationRule>
  IEnumerable

Inherited Members
  AbstractValidator<LdapConfig>.Validate(LdapConfig)
  AbstractValidator<LdapConfig>.ValidateAsync(LdapConfig, CancellationToken)
  AbstractValidator<LdapConfig>.Validate(ValidationContext<LdapConfig>)
  AbstractValidator<LdapConfig>.ValidateAsync(ValidationContext<LdapConfig>, CancellationToken)
  AbstractValidator<LdapConfig>.CreateDescriptor()
  AbstractValidator<LdapConfig>.RuleFor<TProperty>(Expression<Func<LdapConfig, TProperty>>)
  AbstractValidator<LdapConfig>.RuleForEach<TElement>(Expression<Func<LdapConfig, IEnumerable<TElement>>>)
  AbstractValidator<LdapConfig>.RuleSet(string, Action)
  AbstractValidator<LdapConfig>.When(Func<LdapConfig, bool>, Action)
  AbstractValidator<LdapConfig>.When(Func<LdapConfig, ValidationContext<LdapConfig>, bool>, Action)
  AbstractValidator<LdapConfig>.Unless(Func<LdapConfig, bool>, Action)
  AbstractValidator<LdapConfig>.Unless(Func<LdapConfig, ValidationContext<LdapConfig>, bool>, Action)
  AbstractValidator<LdapConfig>.WhenAsync(Func<LdapConfig, CancellationToken, Task<bool>>, Action)
  AbstractValidator<LdapConfig>.WhenAsync(Func<LdapConfig, ValidationContext<LdapConfig>, CancellationToken, Task<bool>>, Action)
  AbstractValidator<LdapConfig>.UnlessAsync(Func<LdapConfig, CancellationToken, Task<bool>>, Action)
  AbstractValidator<LdapConfig>.UnlessAsync(Func<LdapConfig, ValidationContext<LdapConfig>, CancellationToken, Task<bool>>, Action)
  AbstractValidator<LdapConfig>.Include(IValidator<LdapConfig>)
  AbstractValidator<LdapConfig>.Include<TValidator>(Func<LdapConfig, TValidator>)
  AbstractValidator<LdapConfig>.GetEnumerator()
  AbstractValidator<LdapConfig>.PreValidate(ValidationContext<LdapConfig>, ValidationResult)
  AbstractValidator<LdapConfig>.RaiseValidationException(ValidationContext<LdapConfig>, ValidationResult)
  AbstractValidator<LdapConfig>.OnRuleAdded(IValidationRule<LdapConfig>)
  AbstractValidator<LdapConfig>.ClassLevelCascadeMode
  AbstractValidator<LdapConfig>.RuleLevelCascadeMode
  object.Equals(object)
  object.Equals(object, object)
  object.GetHashCode()
  object.GetType()
  object.MemberwiseClone()
  object.ReferenceEquals(object, object)
  object.ToString()

Extension Methods
  NumberUtils.IsNumber(object)
  NumberUtils.ToDouble(object)
  ObjectUtils.ToStr(object?)