protected ValidationContext CreateNewValidationContextForChildValidator(object instanceToValidate, PropertyValidatorContext propertyValidatorContext, IValidatorSelector validatorSelector)
        {
            var propertyChain = new PropertyChain(propertyValidatorContext.PropertyChain);
            propertyChain.Add(propertyValidatorContext.Member);

            return new ValidationContext(instanceToValidate, propertyChain, validatorSelector);
        }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="objectToValidate">Object to validate</param>
 /// <param name="validatorSelector">The validator selector</param>
 public ValidationContext(
     object objectToValidate,
     IValidatorSelector validatorSelector)
 {
     InstanceToValidate = objectToValidate;
     ValidatorSelector = validatorSelector;
 }