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
Location:
branches/PersistenceOverhaul/HeuristicLab.Core/3.3/Collections/DirectedGraph
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceOverhaul/HeuristicLab.Core/3.3/Collections/DirectedGraph/Arc.cs

    r13386 r14711  
    2626namespace HeuristicLab.Core {
    2727  [Item("Arc", "A graph arc connecting two graph vertices, that can have a weight, label, and data object for holding additional info")]
    28   [StorableClass("B9E1D948-BCEF-4B07-AADD-2E39A80F15DF")]
     28  [StorableType("B9E1D948-BCEF-4B07-AADD-2E39A80F15DF")]
    2929  public class Arc : Item, IArc {
    3030    [Storable]
     
    8282  }
    8383
    84   [StorableClass("9C41B31C-E208-46A2-87FC-45A9F0A9A928")]
     84  [StorableType("9C41B31C-E208-46A2-87FC-45A9F0A9A928")]
    8585  public class Arc<T> : Arc, IArc<T> where T : class,IDeepCloneable {
    8686    [Storable]
  • branches/PersistenceOverhaul/HeuristicLab.Core/3.3/Collections/DirectedGraph/DirectedGraph.cs

    r13368 r14711  
    3030namespace HeuristicLab.Core {
    3131  [Item("DirectedGraph", "Generic class representing a directed graph with custom vertices and content")]
    32   [StorableClass("57BB1C46-28A7-482A-8BAE-437AD14B0158")]
     32  [StorableType("57BB1C46-28A7-482A-8BAE-437AD14B0158")]
    3333  public class DirectedGraph : Item, IDirectedGraph {
    3434    public override Image ItemImage { get { return VSImageLibrary.Graph; } }
  • branches/PersistenceOverhaul/HeuristicLab.Core/3.3/Collections/DirectedGraph/Vertex.cs

    r13386 r14711  
    2828namespace HeuristicLab.Core {
    2929  [Item("Vertex", "An object representing a vertex in the graph. It can have a text label, a weight, and an additional data object.")]
    30   [StorableClass("DC0C1D1F-82DF-4150-94CC-A10FD3667F72")]
     30  [StorableType("DC0C1D1F-82DF-4150-94CC-A10FD3667F72")]
    3131  public class Vertex : Item, IVertex {
    3232    [Storable]
     
    141141  }
    142142
    143   [StorableClass("0B8261A0-8829-4BB8-B7EF-940A9A0AB1D9")]
     143  [StorableType("0B8261A0-8829-4BB8-B7EF-940A9A0AB1D9")]
    144144  public class Vertex<T> : Vertex, IVertex<T> where T : class,IDeepCloneable {
    145145    [Storable]
Note: See TracChangeset for help on using the changeset viewer.