示例#1
0
 private bool Equals(ICustomValue other)
 {
     return(ItemId == other.ItemId && Id == other.Id && FieldName == other.FieldName && ValueAsString == other.ValueAsString && Nullable.Equals(ValueAsDecimal, other.ValueAsDecimal) &&
            Nullable.Equals(ValueAsDateTime, other.ValueAsDateTime) && ValueAsBool == other.ValueAsBool);
 }
 public void AddValue(ICustomValue customValue)
 {
     customValues.Add(customValue);
 }