Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/12/13 13:32:34 (12 years ago)
Author:
mkommend
Message:

#1734: Added StorableConstructor to all storable DataImporter classes.

Location:
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data

    • Property svn:ignore
      •  

        old new  
        11bin
        22obj
         3*.user
  • branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/CommandBase/ColumnCommandBase.cs

    r7267 r9614  
    3434    private int columnIndex;
    3535
    36     private ColumnCommandBase()
    37       : base(null, string.Empty) {
    38     }
     36    [StorableConstructor]
     37    protected ColumnCommandBase(bool deserializing) : base(deserializing) { }
    3938
    4039    protected ColumnCommandBase(DataSet dataSet, string columnGroupName, int columnIndex)
  • branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/CommandBase/ColumnGroupCommandBase.cs

    r8387 r9614  
    2727  [StorableClass]
    2828  public abstract class ColumnGroupCommandBase : DataSetCommandBase {
    29     private ColumnGroupCommandBase()
    30       : base(null) {
    31     }
     29    [StorableConstructor]
     30    protected ColumnGroupCommandBase(bool deserializing) : base(deserializing) { }
    3231
    3332    protected ColumnGroupCommandBase(DataSet dataSet, string columnGroupName)
  • branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/CommandBase/ColumnGroupCommandWithAffectedColumnsBase.cs

    r7267 r9614  
    2020#endregion
    2121
    22 using System;
    23 using System.Collections.Generic;
    24 using System.Linq;
    25 using System.Text;
    26 using System.Xml;
    2722using HeuristicLab.DataImporter.Data.Model;
    2823using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     
    3126  [StorableClass]
    3227  public abstract class ColumnGroupCommandWithAffectedColumnsBase : ColumnGroupCommandBase {
    33     private ColumnGroupCommandWithAffectedColumnsBase()
    34       : base(null,string.Empty) {
    35     }
     28    [StorableConstructor]
     29    protected ColumnGroupCommandWithAffectedColumnsBase(bool deserializing) : base(deserializing) { }
    3630
    3731    protected ColumnGroupCommandWithAffectedColumnsBase(DataSet dataSet, string columnGroupName, int[] affectedColumns)
  • branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/CommandBase/CommandBase.cs

    r7267 r9614  
    2020#endregion
    2121
    22 using System;
    23 using System.Collections.Generic;
    24 using System.Linq;
    25 using System.Text;
    2622using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2723
     
    2925  [StorableClass]
    3026  public abstract class CommandBase : ICommand {
     27    [StorableConstructor]
     28    protected CommandBase(bool deserializing) : base() { }
    3129    protected CommandBase() { }
    3230
  • branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/CommandBase/DataSetCommandBase.cs

    r7267 r9614  
    2020#endregion
    2121
    22 using System;
    23 using System.Collections.Generic;
    24 using System.Linq;
    25 using System.Text;
    2622using HeuristicLab.DataImporter.Data.Model;
    2723using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     
    3026  [StorableClass]
    3127  public abstract class DataSetCommandBase : CommandBase {
    32     private DataSetCommandBase() {
    33     }
     28    [StorableConstructor]
     29    protected DataSetCommandBase(bool deserializing) : base(deserializing) { }
    3430
    3531    protected DataSetCommandBase(DataSet dataSet) {
  • branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Data/CommandBase/DataSetCommandWithAffectedColumnGroupsBase.cs

    r7267 r9614  
    2020#endregion
    2121
    22 using System;
    2322using System.Collections.Generic;
    24 using System.Linq;
    25 using System.Text;
    26 using System.Xml;
    2723using HeuristicLab.DataImporter.Data.Model;
    2824using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     
    3127  [StorableClass]
    3228  public abstract class DataSetCommandWithAffectedColumnGroupsBase : DataSetCommandBase {
    33     private DataSetCommandWithAffectedColumnGroupsBase()
    34       : base(null) {
    35     }
    36 
     29    [StorableConstructor]
     30    protected DataSetCommandWithAffectedColumnGroupsBase(bool deserializing) : base(deserializing) { }
    3731    protected DataSetCommandWithAffectedColumnGroupsBase(DataSet dataSet, List<string> affectedColumnGroupNames)
    3832      : base(dataSet) {
Note: See TracChangeset for help on using the changeset viewer.