Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/28/18 16:10:48 (5 years ago)
Author:
jkarder
Message:

#2520: worked on reintegration of new persistence

  • added nuget references to HEAL.Fossil
  • added StorableType attributes to many classes
  • changed signature of StorableConstructors
  • removed some classes in old persistence
  • removed some unnecessary usings
Location:
branches/2520_PersistenceReintegration/HeuristicLab.Persistence.GUI/3.3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2520_PersistenceReintegration/HeuristicLab.Persistence.GUI/3.3/HeuristicLab.Persistence.GUI-3.3.csproj

    r16454 r16462  
    154154      <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath>
    155155    </Reference>
    156     <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
     156    <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
    157157      <HintPath>..\..\packages\HEAL.Fossil.1.0.0\lib\netstandard2.0\HEAL.Fossil.dll</HintPath>
    158158    </Reference>
  • branches/2520_PersistenceReintegration/HeuristicLab.Persistence.GUI/3.3/PersistenceAnalysis.cs

    r16453 r16462  
    7676            if (!IsSerializable(type, config))
    7777              types.Add(type);
    78             /* if (!IsCorrectlyStorable(type))
    79               storableInconsistentcy.Add(type); */
    80           }
    81           catch {
     78          } catch {
    8279            types.Add(type);
    8380          }
     
    8683      return types;
    8784    }
    88 
    89     /* private static bool IsCorrectlyStorable(Type type) {
    90       if (StorableAttribute.GetStorableMembers(type).Count() > 0) {
    91         if (!StorableClassAttribute.IsStorableType(type, true))
    92           return false;
    93         if (type.GetConstructor(BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public, null, Type.EmptyTypes, null) == null &&
    94           StorableConstructorAttribute.GetStorableConstructor(type) == null)
    95           return false;
    96       }
    97       return true;
    98     }  */
    9985  }
    10086}
  • branches/2520_PersistenceReintegration/HeuristicLab.Persistence.GUI/3.3/PersistenceConfigurationForm.cs

    r16453 r16462  
    2525using System.Linq;
    2626using System.Windows.Forms;
     27using HEAL.Fossil;
    2728using HeuristicLab.Persistence.Auxiliary;
    2829using HeuristicLab.Persistence.Core;
Note: See TracChangeset for help on using the changeset viewer.