public PropertyValidatorContext(string propertyDescription, object instance, PropertySelector propertyValueFunc, string propertyName, MemberInfo member) { propertyValueFunc.Guard("propertyValueFunc cannot be null"); PropertyDescription = propertyDescription; Instance = instance; messageFormatter = new MessageFormatter(); this.PropertyName = propertyName; this.propertyValueFunc = propertyValueFunc; this.Member = member; }