예제 #1
0
 public AllOrAtLeastOnePropertyRequiredIfAttribute(AllOrAtLeastOneRequiredType allOrAtLeastOneRequiredType, string propertyNameThatHasValue, Object[] desiredValue, params string[] propertyList)
 {
     this.PropertyList                = propertyList;
     this.PropertyNameThatHasValue    = propertyNameThatHasValue;
     this.DesiredValue                = desiredValue;
     this.AllOrAtLeastOneRequiredType = allOrAtLeastOneRequiredType;
 }
예제 #2
0
 public AllOrAtLeastOnePropertyRequiredAttribute(AllOrAtLeastOneRequiredType allOrAtLeastOneRequiredType, params string[] propertyList)
 {
     this.PropertyList = propertyList;
     this.AllOrAtLeastOneRequiredType = allOrAtLeastOneRequiredType;
 }