namespace Umbraco.Cms.Infrastructure.Examine; public class MemberValueSetValidator : ValueSetValidator { /// /// By default these are the member fields we index /// public static readonly string[] DefaultMemberIndexFields = { "id", UmbracoExamineFieldNames.NodeNameFieldName, "updateDate", "loginName", "email", UmbracoExamineFieldNames.NodeKeyFieldName, }; private static readonly IEnumerable _validCategories = new[] { IndexTypes.Member }; public MemberValueSetValidator() : base(null, null, DefaultMemberIndexFields, null) { } public MemberValueSetValidator(IEnumerable? includeItemTypes, IEnumerable? excludeItemTypes) : base(includeItemTypes, excludeItemTypes, DefaultMemberIndexFields, null) { } public MemberValueSetValidator(IEnumerable? includeItemTypes, IEnumerable? excludeItemTypes, IEnumerable? includeFields, IEnumerable? excludeFields) : base(includeItemTypes, excludeItemTypes, includeFields, excludeFields) { } protected override IEnumerable ValidIndexCategories => _validCategories; }