public PropertyValidate(Delegate validator, object value, Type propertyType, PropertyNamePosition key, IDictionary <string, object> sourceList) { SourceList = sourceList; Validator = validator ?? throw new ArgumentNullException(nameof(validator)); Value = value; PropertyType = propertyType; Key = key ?? throw new ArgumentNullException(nameof(key)); }
public PropertyValidate(PropertyNamePosition key, IDictionary <string, object> sourceList) : this((Func <object, bool>)(v => true), null, typeof(object), key, sourceList) { }
public PropertyValidate(object value, Type propertyType, PropertyNamePosition key, IDictionary <string, object> sourceList) : this((Func <object, bool>)(v => true), value, propertyType, key, sourceList) { }
public PropertyValidate(PropertyNamePosition key) : this((Func <object, bool>)(v => true), null, typeof(object), key, null) { }
public PropertyValidate(Type propertyType, PropertyNamePosition key) : this((Func <object, bool>)(v => true), null, propertyType, key, null) { }
public PropertyValidate(Delegate validator, Type propertyType, PropertyNamePosition key) : this((Func <object, bool>)(v => true), default, propertyType, key, null) { }