コード例 #1
0
        public async Task ValidateInputAsync(NamedContentData data, bool publish)
        {
            var validator =
                new ContentValidator(Partition(),
                                     validationContext.AsPublishing(publish), validators, log);

            await validator.ValidateInputAsync(data);

            CheckErrors(validator);
        }