public static RLExcel_ContactsList FromRestList <T>(RestList <T> restList, Func <T, STExcel_ContactsStructure> converter) { RLExcel_ContactsList result = new RLExcel_ContactsList(); result.InnerFromRestList(restList, converter); return(result); }
public static RLExcel_ContactsList ToList <T>(T[] array, Func <T, STExcel_ContactsStructure> converter) { RLExcel_ContactsList result = new RLExcel_ContactsList(); result.InnerFromArray(array, converter); return(result); }
public static WORCExcel_ContactsRecord[] FromRecordList(RLExcel_ContactsList rl) { WORCExcel_ContactsRecord[] array = new WORCExcel_ContactsRecord[rl == null ? 0: rl.Length]; for (int i = 0; i < array.Length; i++) { array[i] = rl.Data[i]; } return(array); }
public WORLExcel_ContactsList(RLExcel_ContactsList rl) { rl = (RLExcel_ContactsList)rl.Duplicate(); Array = new WORCExcel_ContactsRecord[rl.Length]; while (!rl.Eof) { Array[rl.CurrentRowNumber] = rl.CurrentRec.Duplicate(); rl.Advance(); } }
public static RLExcel_ContactsList ToRecordList(WORCExcel_ContactsRecord[] array) { RLExcel_ContactsList rl = new RLExcel_ContactsList(); if (array != null) { foreach (WORCExcel_ContactsRecord val in array) { rl.Append(val); } } return(rl); }
public static T[] ToArray <T>(RLExcel_ContactsList recordlist, Func <STExcel_ContactsStructure, T> converter) { return(InnerToArray(recordlist, converter)); }