Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/03/17 11:41:43 (8 years ago)
Author:
gkronber
Message:

#2520

  • renamed StorableClass -> StorableType
  • changed persistence to use GUIDs instead of type names
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceOverhaul/HeuristicLab.Persistence.GUI/3.3/PersistenceAnalysis.cs

    r11172 r14711  
    8787    }
    8888
    89     /* private static bool IsCorrectlyStorable(Type type) {
     89    /* private static bool IsCorrectlyStorable(MemberSelection type) {
    9090      if (StorableAttribute.GetStorableMembers(type).Count() > 0) {
    91         if (!StorableClassAttribute.IsStorableType(type, true))
     91        if (!StorableTypeAttribute.IsStorableType(type, true))
    9292          return false;
    93         if (type.GetConstructor(BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public, null, Type.EmptyTypes, null) == null &&
     93        if (type.GetConstructor(BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public, null, MemberSelection.EmptyTypes, null) == null &&
    9494          StorableConstructorAttribute.GetStorableConstructor(type) == null)
    9595          return false;
Note: See TracChangeset for help on using the changeset viewer.