Beispiel #1
0
 public PropertyValidate(Delegate validator, object value, Type propertyType, PropertyNamePosition key, ILookup <string, object> sourceList)
 {
     SourceList   = sourceList;
     Validator    = validator ?? throw new ArgumentNullException(nameof(validator));
     Value        = value;
     PropertyType = propertyType;
     Key          = key ?? throw new ArgumentNullException(nameof(key));
 }
Beispiel #2
0
 public PropertyValidate(PropertyNamePosition key, ILookup <string, object> sourceList) : this((Func <object, bool>)(v => true), null, typeof(object), key, sourceList)
 {
 }
Beispiel #3
0
 public PropertyValidate(object value, Type propertyType, PropertyNamePosition key, ILookup <string, object> sourceList) : this((Func <object, bool>)(v => true), value, propertyType, key, sourceList)
 {
 }
Beispiel #4
0
 public PropertyValidate(PropertyNamePosition key) : this((Func <object, bool>)(v => true), null, typeof(object), key, null)
 {
 }
Beispiel #5
0
 public PropertyValidate(Type propertyType, PropertyNamePosition key) : this((Func <object, bool>)(v => true), null, propertyType, key, null)
 {
 }
Beispiel #6
0
 public PropertyValidate(Delegate validator, Type propertyType, PropertyNamePosition key) : this((Func <object, bool>)(v => true), default, propertyType, key, null)
 {
 }