示例#1
0
 private CustomObject()
 {
     Status       = CustomObjectStatus.Empty;
     Value        = null;
     ErrorMessage = string.Empty;
 }
示例#2
0
 public CustomObject(object value)
 {
     Status       = value != null ? CustomObjectStatus.Valid : CustomObjectStatus.Empty;
     Value        = value;
     ErrorMessage = string.Empty;
 }