Beispiel #1
0
        /// <summary>
        /// Validate the argument.
        /// </summary>
        /// <param name="context"><see cref="IRuleContext"/> to validate.</param>
        /// <returns>The <see cref="QueryArgumentValidationResult"/>.</returns>
        public QueryArgumentValidationResult Validate(IRuleContext context)
        {
            if (context == null)
            {
                return(new QueryArgumentValidationResult(Array.Empty <BrokenRule>()));
            }

            var result = new QueryArgumentValidationResult(null);

            return(result);
        }
        /// <summary>
        ///
        /// </summary>
        /// <param name="context"></param>
        /// <returns></returns>
        public QueryArgumentValidationResult    Validate(IRuleContext context)
        {
            var result = new QueryArgumentValidationResult(null);

            return(result);
        }