Exemplo n.º 1
0
 public bool TxRptAddItem(PointOfInteractionTransactionReport1 value)
 {
     // BEGIN ADDED BY XSD - array AddItem accessor
     try
     {
         if ((this.txRptField == default(PointOfInteractionTransactionReport1[])))
         {
             return(false);
         }
         else
         {
             PointOfInteractionTransactionReport1[] array = new PointOfInteractionTransactionReport1[(this.txRptField.Length + 1)];
             int i = 0;
             for (i = 0; (i < this.txRptField.Length); i = (i + 1))
             {
                 array[i] = txRptField[i];
             }
             array[i]   = value;
             this.TxRpt = array;
             return(true);
         }
     }
     catch (System.Exception ex)
     {
         return(false);
     }
     // END ADDED BY XSD
 }
Exemplo n.º 2
0
 public bool TxRptSetItem(int index, PointOfInteractionTransactionReport1 value)
 {
     // BEGIN ADDED BY XSD - array SetItem accessor
     try
     {
         if ((this.txRptField == default(PointOfInteractionTransactionReport1[])))
         {
             return(false);
         }
         else
         {
             this.txRptField[index] = value;
             return(true);
         }
     }
     catch (System.Exception ex)
     {
         return(false);
     }
     // END ADDED BY XSD
 }