Exemplo n.º 1
0
        public static RLListNavigation_PageNumberList FromRestList <T>(RestList <T> restList, Func <T, STListNavigation_PageNumberStructure> converter)
        {
            RLListNavigation_PageNumberList result = new RLListNavigation_PageNumberList();

            result.InnerFromRestList(restList, converter);
            return(result);
        }
Exemplo n.º 2
0
        public static RLListNavigation_PageNumberList ToList <T>(T[] array, Func <T, STListNavigation_PageNumberStructure> converter)
        {
            RLListNavigation_PageNumberList result = new RLListNavigation_PageNumberList();

            result.InnerFromArray(array, converter);
            return(result);
        }
Exemplo n.º 3
0
 public static WORCListNavigation_PageNumberRecord[] FromRecordList(RLListNavigation_PageNumberList rl)
 {
     WORCListNavigation_PageNumberRecord[] array = new WORCListNavigation_PageNumberRecord[rl == null ? 0: rl.Length];
     for (int i = 0; i < array.Length; i++)
     {
         array[i] = rl.Data[i];
     }
     return(array);
 }
Exemplo n.º 4
0
 public WORLListNavigation_PageNumberList(RLListNavigation_PageNumberList rl)
 {
     rl    = (RLListNavigation_PageNumberList)rl.Duplicate();
     Array = new WORCListNavigation_PageNumberRecord[rl.Length];
     while (!rl.Eof)
     {
         Array[rl.CurrentRowNumber] = rl.CurrentRec.Duplicate();
         rl.Advance();
     }
 }
Exemplo n.º 5
0
        public static RLListNavigation_PageNumberList ToRecordList(WORCListNavigation_PageNumberRecord[] array)
        {
            RLListNavigation_PageNumberList rl = new RLListNavigation_PageNumberList();

            if (array != null)
            {
                foreach (WORCListNavigation_PageNumberRecord val in array)
                {
                    rl.Append(val);
                }
            }
            return(rl);
        }
Exemplo n.º 6
0
 public static T[] ToArray <T>(RLListNavigation_PageNumberList recordlist, Func <STListNavigation_PageNumberStructure, T> converter)
 {
     return(InnerToArray(recordlist, converter));
 }