示例#1
0
        public override IContentValueSetValidator GetPublishedContentValueSetValidator()
        {
            var config = new ExamineIndexConfig(UmbracoIndexes.ExternalIndexName);

            return(new ContentValueSetValidator(true, config.SupportProtectedContent, _publicAccessService, config.ParentId, config.IncludeItemTypes, config.ExcludeItemTypes));
        }
示例#2
0
        public override IValueSetValidator GetMemberValueSetValidator()
        {
            var config = new ExamineIndexConfig(UmbracoIndexes.MembersIndexName);

            return(new MemberValueSetValidator(config.IncludeItemTypes, config.ExcludeItemTypes));
        }