public static RLMessageTypeList FromRestList <T>(RestList <T> restList, Func <T, ENMessageTypeEntityRecord> converter)
        {
            RLMessageTypeList result = new RLMessageTypeList();

            result.InnerFromRestList(restList, converter);
            return(result);
        }
        public static RLMessageTypeList ToList <T>(T[] array, Func <T, ENMessageTypeEntityRecord> converter)
        {
            RLMessageTypeList result = new RLMessageTypeList();

            result.InnerFromArray(array, converter);
            return(result);
        }
 public static WORCMessageTypeRecord[] FromRecordList(RLMessageTypeList rl)
 {
     WORCMessageTypeRecord[] array = new WORCMessageTypeRecord[rl == null ? 0: rl.Length];
     for (int i = 0; i < array.Length; i++)
     {
         array[i] = rl.Data[i];
     }
     return(array);
 }
        public static RLMessageTypeList ToRecordList(WORCMessageTypeRecord[] array)
        {
            RLMessageTypeList rl = new RLMessageTypeList();

            if (array != null)
            {
                foreach (WORCMessageTypeRecord val in array)
                {
                    rl.Append(val);
                }
            }
            return(rl);
        }
 public static T[] ToArray <T>(RLMessageTypeList recordlist, Func <ENMessageTypeEntityRecord, T> converter)
 {
     return(InnerToArray(recordlist, converter));
 }