- Timestamp:
- 10/30/09 11:06:10 (15 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/Mainform refactoring/HeuristicLab.MainForm/3.2/DefaultViewAttribute.cs
r2453 r2456 26 26 namespace HeuristicLab.MainForm { 27 27 [AttributeUsage(AttributeTargets.Class)] 28 public class DefaultView : Attribute { 29 public DefaultView() { 28 public class DefaultViewAttribute : Attribute { 29 public DefaultViewAttribute() { 30 } 31 32 public static bool IsDefaultView(Type t) { 33 object[] attributes = t.GetCustomAttributes(typeof(DefaultViewAttribute), false); 34 return attributes != null && attributes.Length > 0; 30 35 } 31 36 }
Note: See TracChangeset
for help on using the changeset viewer.