Represents a collection of widget descriptors.
예제 #1
0
            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);
            }
            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);
            }