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