public ValidationContext(IEnumerable <ParameterExpression> parameters, Func <Expression, int, Expression> onIsInvalid, Type recursionEntryPoint = null)
            {
                Parameters          = parameters;
                _onIsInvalid        = onIsInvalid;
                RecursionEntryPoint = recursionEntryPoint;

                Queue       = new ValidationQueue();
                MemberGraph = new MemberGraph();
            }
 public ValidationImplementationContext(Expression <TDelegate> validationExpression, MemberGraph memberGraph)
 {
     _validationExpression = validationExpression;
     MemberGraph           = memberGraph;
 }
 private static ValidationImplementationContext <TDelegate> CreateValidationContext <TDelegate>(Expression <TDelegate> expr, MemberGraph memberGraph) where TDelegate : class
 {
     memberGraph.Seal();
     return(new ValidationImplementationContext <TDelegate>(expr, memberGraph));
 }