Beispiel #1
0
        private RowItem MakeLive(RowItem rowItem)
        {
            if (rowItem.Value is GroupedRow)
            {
                return(rowItem);
            }
            int   index = WrappedList.IndexOfKey(WrappedList.GetKey((TItem)rowItem.Value));
            TItem item  = index >= 0 ? WrappedList[index] : default(TItem);

            return(rowItem.SetValue(item));
        }
Beispiel #2
0
 public int IndexOfKey(object key)
 {
     return(WrappedList.IndexOfKey((TKey)key));
 }