Changeset 7270 for branches/HeuristicLab.Hive.Azure/HeuristicLab.Core/3.3/Attributes/ItemAttribute.cs
- Timestamp:
- 01/04/12 16:45:02 (12 years ago)
- Location:
- branches/HeuristicLab.Hive.Azure
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive.Azure
- Property svn:mergeinfo changed
/trunk/sources merged: 7195-7201,7209,7214,7216-7230,7233-7239,7241,7243-7252,7254,7256-7261,7265-7266
- Property svn:mergeinfo changed
-
branches/HeuristicLab.Hive.Azure/HeuristicLab.Core/3.3/Attributes/ItemAttribute.cs
r5445 r7270 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 1Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 21 21 22 22 using System; 23 using System.Drawing; 23 24 using System.Linq; 24 25 using System.Reflection; … … 82 83 } 83 84 } 85 public static Image GetImage(Type type) { 86 var staticItemImageProperty = type.GetProperty("StaticItemImage", BindingFlags.Static | BindingFlags.Public | BindingFlags.FlattenHierarchy); 87 return staticItemImageProperty == null ? null : (Image)staticItemImageProperty.GetValue(null, null); 88 } 84 89 } 85 90 }
Note: See TracChangeset
for help on using the changeset viewer.