internal static void Validate(ExportEventStatus toValidate, IList validated) { if (validated.Contains(toValidate)) { return; } validated.Add(toValidate); if (toValidate.ImporterId == null) { throw new ArgumentException("ImporterId is required"); } if (toValidate.EventType == null) { throw new ArgumentException("EventType is required"); } if (toValidate.RecordCount == null) { throw new ArgumentException("RecordCount is required"); } }
/// <summary> /// Constructor for ExportPedidoEventPayload /// </summary> /// <param name="eventpl"> ///<summary> /// TBD ///</summary> /// </param> public ExportPedidoEventPayload(ExportEventStatus eventpl) { this.Eventpl = eventpl; }
/// <summary> /// Constructor for ExportClienteEventPayload /// </summary> /// <param name="eventpl"> ///<summary> /// TBD ///</summary> /// </param> public ExportClienteEventPayload(ExportEventStatus eventpl) { this.Eventpl = eventpl; }
public static void Validate(ExportEventStatus toValidate) { Validate(toValidate, new ArrayList()); }
/// <summary> /// Constructor for ExportItemEventPayload /// </summary> /// <param name="eventpl"> ///<summary> /// TBD ///</summary> /// </param> public ExportItemEventPayload(ExportEventStatus eventpl) { this.Eventpl = eventpl; }