示例#1
0
 public UnionValidator(ReadOnlyArray <IValidator> others, byte id)
 {
     _others = others;
     Id      = id;
 }
示例#2
0
 public UnionValidator(ReadOnlyArray <IOpenXmlSimpleTypeValidator> others, byte id)
 {
     _others = others;
     Id      = id;
 }
 public ValidatorCollection(PropertyInfo property)
 {
     _validators = Build(property.GetCustomAttributes(true), property.PropertyType);
 }
 public ElementPropertyCollection(OpenXmlElement element, ReadOnlyArray <ElementProperty <T> > tags)
 {
     _tags    = tags;
     _element = element;
 }
 public ValidatorCollection(Type type)
 {
     _validators = Build(type.GetTypeInfo().GetCustomAttributes(true), null);
 }