public WidgetDescriptorCache ( |
||
collection | ||
return | System |
public WidgetDescriptorCache(WidgetDescriptorCollection collection)
{
Version = collection.Version;
_lookupByShortName = collection.Items.ToLookup(c => c.ShortName, c => c);
_lookupByFullName = collection.Items.ToLookup(c => c.FullName, c => c);
}