/// <summary> /// Determines wheter an element is in the collection. /// </summary> /// <param name="value">The Z00_BURO_HR to locate in the collection.</param> /// <returns>True if found; else false.</returns> public bool Contains(Z00_BURO_HR value) { return(List.Contains(value)); }
/// <summary> /// Inserts a Z00_BURO_HR into the collection at the specified index. /// </summary> /// <param name="index">The zero-based index at which value should be inserted.</param> /// <param name="value">The Z00_BURO_HR to insert.</param> public void Insert(int index, Z00_BURO_HR value) { List.Insert(index, value); }
/// <summary> /// Searches for the specified Z00_BURO_HR and returnes the zero-based index of the first occurrence in the collection. /// </summary> /// <param name="value">The Z00_BURO_HR to locate in the collection.</param> /// <returns>The index of the object found or -1.</returns> public int IndexOf(Z00_BURO_HR value) { return(List.IndexOf(value)); }
/// <summary> /// Removes the first occurrence of the specified Z00_BURO_HR from the collection. /// </summary> /// <param name="value">The Z00_BURO_HR to remove from the collection.</param> public void Remove(Z00_BURO_HR value) { List.Remove(value); }
/// <summary> /// Adds a Z00_BURO_HR to the end of the collection. /// </summary> /// <param name="value">The Z00_BURO_HR to be added to the end of the collection.</param> /// <returns>The index of the newZ00_BURO_HR.</returns> public int Add(Z00_BURO_HR value) { return(List.Add(value)); }
/// <summary> /// Copies the contents of the Z00_BURO_HRTable to the specified one-dimensional array starting at the specified index in the target array. /// </summary> /// <param name="array">The one-dimensional destination array.</param> /// <param name="index">The zero-based index in array at which copying begins.</param> public void CopyTo(Z00_BURO_HR[] array, int index) { List.CopyTo(array, index); }
public int HR_respuestaSeccionHankAlertCDReg(int estadoInc) { bool salir = false; int repeticiones=0; while(salir == false && estadoInc < etiSecc.Count) { switch(etiSecc[estadoInc].ToString()) { case "HR": if(repeticiones==0) { seccionHankAlertCDReg["Fecha"] = cambiaFechaAFormatoABAP(valSecc[estadoInc].ToString()); repeticiones++; } else { if(repeticiones<20) { seccionHankAlertCDRegTable.Add(seccionHankAlertCDReg); seccionHankAlertCDReg = new Z00_BURO_HR(); seccionHankAlertCDReg.Fecha = cambiaFechaAFormatoABAP(valSecc[estadoInc].ToString()); repeticiones++; } else { Console.WriteLine("Esta seccion solo puede repetirce 20 veces debe existir un error"); } } break; case "00": seccionHankAlertCDReg.Codigo = valSecc[estadoInc].ToString(); break; case "01": seccionHankAlertCDReg.Institucion = valSecc[estadoInc].ToString(); break; case "02": seccionHankAlertCDReg.Mensaje = valSecc[estadoInc].ToString(); break; default: salir= true; estadoInc=estadoInc-2; break; } estadoInc++; } seccionHankAlertCDRegTable.Add(seccionHankAlertCDReg); return estadoInc; }
/// <summary> /// Determines wheter an element is in the collection. /// </summary> /// <param name="value">The Z00_BURO_HR to locate in the collection.</param> /// <returns>True if found; else false.</returns> public bool Contains(Z00_BURO_HR value) { return List.Contains(value); }
/// <summary> /// Adds a Z00_BURO_HR to the end of the collection. /// </summary> /// <param name="value">The Z00_BURO_HR to be added to the end of the collection.</param> /// <returns>The index of the newZ00_BURO_HR.</returns> public int Add(Z00_BURO_HR value) { return List.Add(value); }
/// <summary> /// Searches for the specified Z00_BURO_HR and returnes the zero-based index of the first occurrence in the collection. /// </summary> /// <param name="value">The Z00_BURO_HR to locate in the collection.</param> /// <returns>The index of the object found or -1.</returns> public int IndexOf(Z00_BURO_HR value) { return List.IndexOf(value); }