Exemplo n.º 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);
        }
Exemplo n.º 2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="context"></param>
        /// <returns></returns>
        public QueryArgumentValidationResult    Validate(IRuleContext context)
        {
            var result = new QueryArgumentValidationResult(null);

            return(result);
        }