Free cookie consent management tool by TermsFeed Policy Generator

Changeset 12664


Ignore:
Timestamp:
07/07/15 21:08:00 (9 years ago)
Author:
mkommend
Message:

#2025: Corrected ctors of CreatableAttribute.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core/3.3/Attributes/CreatableAttribute.cs

    r12649 r12664  
    8888      Priority = int.MaxValue;
    8989    }
    90     public CreatableAttribute(object category)
    91       : this() {
    92       Category = (string)category;
    93     }
    94     // BackwardsCompatibility3.3
    95     #region Backwards compatible code, remove with 3.4
    96     [Obsolete]
    9790    public CreatableAttribute(string category)
    9891      : this() {
    9992      Category = category;
    10093    }
    101     #endregion
    10294
    10395    public static bool IsCreatable(Type type) {
Note: See TracChangeset for help on using the changeset viewer.