internal static void Validate(CreateBulkPedidoOutput toValidate, IList validated) { if (validated.Contains(toValidate)) { return; } validated.Add(toValidate); // no validation required }
public static void Validate(CreateBulkPedidoOutput toValidate) { Validate(toValidate, new ArrayList()); }