public IEnumerable <IndexedItem> GetItems() => ControlPanelItemList .Create() .Select(cpi => new ControlPanelIndexedItem() { Item = cpi, IndexerName = cpi.LocalizedString, Description = cpi.ProcessStartInfo.FileName + " " + cpi.ProcessStartInfo.Arguments }) .ToList();
public Icon GetIcon(int size) { return(ControlPanelItemList.getIcon(Key, size)); }