Changeset 13656 for branches/WebJobManager/HeuristicLab.Core/3.3/Collections/ReadOnlyKeyedItemCollection.cs
- Timestamp:
- 03/07/16 10:18:05 (9 years ago)
- Location:
- branches/WebJobManager
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/WebJobManager/HeuristicLab.Core/3.3/Collections/ReadOnlyKeyedItemCollection.cs
r12012 r13656 30 30 [Item("ReadOnlyKeyedItemCollection", "Represents a read-only keyed collection of items.")] 31 31 public class ReadOnlyKeyedItemCollection<TKey, TItem> : ReadOnlyObservableKeyedCollection<TKey, TItem>, IKeyedItemCollection<TKey, TItem> where TItem : class, IItem { 32 public virtual string ItemName { 32 public virtual string ItemName 33 { 33 34 get { return ItemAttribute.GetName(this.GetType()); } 34 35 } 35 public virtual string ItemDescription { 36 public virtual string ItemDescription 37 { 36 38 get { return ItemAttribute.GetDescription(this.GetType()); } 37 39 } 38 public Version ItemVersion { 40 public Version ItemVersion 41 { 39 42 get { return ItemAttribute.GetVersion(this.GetType()); } 40 43 } 41 public static Image StaticItemImage { 42 get { return HeuristicLab.Common.Resources.VSImageLibrary.Class; } 44 public static Image StaticItemImage 45 { 46 get { return new Bitmap(25, 25); } 43 47 } 44 public virtual Image ItemImage { 48 public virtual Image ItemImage 49 { 45 50 get { return ItemAttribute.GetImage(this.GetType()); } 46 51 }
Note: See TracChangeset
for help on using the changeset viewer.