Class ValidGroupsConfig
- Namespace
- adas_core.Domain.Models.AppSettings
- Assembly
- adas-core.Domain.dll
Represents a configuration collection of ValidGroup instances, exposing them as a strongly-typed list.
public class ValidGroupsConfig : List<ValidGroup>, IList<ValidGroup>, ICollection<ValidGroup>, IReadOnlyList<ValidGroup>, IReadOnlyCollection<ValidGroup>, IEnumerable<ValidGroup>, IList, ICollection, IEnumerable
- Inheritance
-
ValidGroupsConfig
- Implements
- Inherited Members
- Extension Methods
Remarks
This type inherits from List<T> where T is ValidGroup, providing standard list operations for managing the configured valid groups.
Methods
IsValid(User?)
Determines whether the specified user is considered valid by checking that it is not null.
public bool IsValid(User? user)
Parameters
userUserThe user instance to validate.