예제 #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);
        }
예제 #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);
        }
예제 #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);
 }
예제 #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();
     }
 }
예제 #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);
        }
예제 #6
0
 public static T[] ToArray <T>(RLListNavigation_PageNumberList recordlist, Func <STListNavigation_PageNumberStructure, T> converter)
 {
     return(InnerToArray(recordlist, converter));
 }