public static object GetPropertyValue(this ValidationContext validationContext, string propertyName)
        {
            var property = validationContext.GetPropertyInfo(propertyName);

            if (property == null)
            {
                throw new ArgumentException("Comparison property with this name not found");
            }
            return(property.GetValue(validationContext.ObjectInstance));
        }