Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/14/10 01:06:17 (15 years ago)
Author:
epitzer
Message:

Merge StorableClassType.Empty into StorableClassType.MarkedOnly and make it the default if not specified (#548)

Location:
trunk/sources/HeuristicLab.Parameters/3.3
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Parameters/3.3/ConstrainedValueParameter.cs

    r2994 r3017  
    3131  /// </summary>
    3232  [Item("ConstrainedValueParameter<T>", "A parameter whose value has to be chosen from a set of valid values.")]
    33   [StorableClass(StorableClassType.Empty)]
     33  [StorableClass]
    3434  public class ConstrainedValueParameter<T> : OptionalConstrainedValueParameter<T> where T : class, IItem {
    3535    public override T Value {
  • trunk/sources/HeuristicLab.Parameters/3.3/LookupParameter.cs

    r2994 r3017  
    3030  /// </summary>
    3131  [Item("LookupParameter<T>", "A parameter whose value is retrieved from or written to a scope.")]
    32   [StorableClass(StorableClassType.MarkedOnly)]
     32  [StorableClass]
    3333  public class LookupParameter<T> : Parameter, ILookupParameter<T> where T : class, IItem {
    3434    [Storable]
  • trunk/sources/HeuristicLab.Parameters/3.3/OperatorParameter.cs

    r2994 r3017  
    2828  /// </summary>
    2929  [Item("OperatorParameter", "A parameter which represents an operator.")]
    30   [StorableClass(StorableClassType.Empty)]
     30  [StorableClass]
    3131  [Creatable("Test")]
    3232  public class OperatorParameter : OptionalValueParameter<IOperator> {
  • trunk/sources/HeuristicLab.Parameters/3.3/OptionalConstrainedValueParameter.cs

    r2994 r3017  
    3131  /// </summary>
    3232  [Item("OptionalConstrainedValueParameter<T>", "A parameter whose value has to be chosen from a set of valid values or is null.")]
    33   [StorableClass(StorableClassType.MarkedOnly)]
     33  [StorableClass]
    3434  public class OptionalConstrainedValueParameter<T> : Parameter, IValueParameter<T> where T : class, IItem {
    3535    private ItemSet<T> validValues;
  • trunk/sources/HeuristicLab.Parameters/3.3/OptionalValueParameter.cs

    r2994 r3017  
    3030  /// </summary>
    3131  [Item("OptionalValueParameter<T>", "A parameter whose value is defined in the parameter itself or is null.")]
    32   [StorableClass(StorableClassType.MarkedOnly)]
     32  [StorableClass]
    3333  public class OptionalValueParameter<T> : Parameter, IValueParameter<T> where T : class, IItem {
    3434    private T value;
  • trunk/sources/HeuristicLab.Parameters/3.3/Parameter.cs

    r2995 r3017  
    3030  /// </summary>
    3131  [Item("Parameter", "A base class for parameters.")]
    32   [StorableClass(StorableClassType.MarkedOnly)]
     32  [StorableClass]
    3333  public abstract class Parameter : NamedItem, IParameter {
    3434    public override bool CanChangeName {
  • trunk/sources/HeuristicLab.Parameters/3.3/ScopeParameter.cs

    r2994 r3017  
    3030  /// </summary>
    3131  [Item("ScopeParameter", "A parameter which represents the current scope.")]
    32   [StorableClass(StorableClassType.Empty)]
     32  [StorableClass]
    3333  [Creatable("Test")]
    3434  public class ScopeParameter : Parameter {
  • trunk/sources/HeuristicLab.Parameters/3.3/SubScopesLookupParameter.cs

    r2996 r3017  
    3030  /// </summary>
    3131  [Item("SubScopesLookupParameter<T>", "A generic parameter representing instances of type T which are collected from or written to the sub-scopes of the current scope.")]
    32   [StorableClass(StorableClassType.Empty)]
     32  [StorableClass]
    3333  public class SubScopesLookupParameter<T> : LookupParameter<ItemArray<T>> where T : class, IItem {
    3434    public SubScopesLookupParameter() : base() { }
  • trunk/sources/HeuristicLab.Parameters/3.3/ValueLookupParameter.cs

    r2994 r3017  
    3030  /// </summary>
    3131  [Item("ValueLookupParameter<T>", "A parameter whose value is either defined in the parameter itself or is retrieved from or written to a scope.")]
    32   [StorableClass(StorableClassType.MarkedOnly)]
     32  [StorableClass]
    3333  public class ValueLookupParameter<T> : LookupParameter<T>, IValueLookupParameter<T> where T : class, IItem {
    3434    private T value;
  • trunk/sources/HeuristicLab.Parameters/3.3/ValueParameter.cs

    r2994 r3017  
    3030  /// </summary>
    3131  [Item("ValueParameter<T>", "A parameter whose value is defined in the parameter itself.")]
    32   [StorableClass(StorableClassType.Empty)]
     32  [StorableClass]
    3333  public class ValueParameter<T> : OptionalValueParameter<T> where T : class, IItem {
    3434    public override T Value {
Note: See TracChangeset for help on using the changeset viewer.