コード例 #1
0
        public static RLMenuItemRecordList FromRestList <T>(RestList <T> restList, Func <T, RCMenuItemRecord> converter)
        {
            RLMenuItemRecordList result = new RLMenuItemRecordList();

            result.InnerFromRestList(restList, converter);
            return(result);
        }
コード例 #2
0
        public static RLMenuItemRecordList ToList <T>(T[] array, Func <T, RCMenuItemRecord> converter)
        {
            RLMenuItemRecordList result = new RLMenuItemRecordList();

            result.InnerFromArray(array, converter);
            return(result);
        }
コード例 #3
0
 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();
     }
 }
コード例 #4
0
 public static T[] ToArray <T>(RLMenuItemRecordList recordlist, Func <RCMenuItemRecord, T> converter)
 {
     return(InnerToArray(recordlist, converter));
 }