public static RLMenuItemRecordList FromRestList <T>(RestList <T> restList, Func <T, RCMenuItemRecord> converter) { RLMenuItemRecordList result = new RLMenuItemRecordList(); result.InnerFromRestList(restList, converter); return(result); }
public static RLMenuItemRecordList ToList <T>(T[] array, Func <T, RCMenuItemRecord> converter) { RLMenuItemRecordList result = new RLMenuItemRecordList(); result.InnerFromArray(array, converter); return(result); }
public WORLMenuItemRecordList(RLMenuItemRecordList rl) { rl = (RLMenuItemRecordList)rl.Duplicate(); Array = new WORCMenuItemRecord[rl.Length]; while (!rl.Eof) { Array[rl.CurrentRowNumber] = new WORCMenuItemRecord(rl.CurrentRec); rl.Advance(); } }
public static T[] ToArray <T>(RLMenuItemRecordList recordlist, Func <RCMenuItemRecord, T> converter) { return(InnerToArray(recordlist, converter)); }