private CustomObject() { Status = CustomObjectStatus.Empty; Value = null; ErrorMessage = string.Empty; }
public CustomObject(object value) { Status = value != null ? CustomObjectStatus.Valid : CustomObjectStatus.Empty; Value = value; ErrorMessage = string.Empty; }