Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/04/17 17:19:35 (8 years ago)
Author:
gkronber
Message:

#2520: changed all usages of StorableClass to use StorableType with an auto-generated GUID (did not add StorableType to other type definitions yet)

Location:
branches/PersistenceReintegration/HeuristicLab.Scripting/3.3
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceReintegration/HeuristicLab.Scripting/3.3/ExecutableScript.cs

    r14185 r14927  
    2424using HeuristicLab.Common;
    2525using HeuristicLab.Core;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HeuristicLab.Persistence;
    2727
    2828namespace HeuristicLab.Scripting {
    2929  [Item("Executable Script", "An executable script.")]
    30   [StorableClass]
     30  [StorableType("46e454f3-3adb-418c-9376-be96667e1d64")]
    3131  public abstract class ExecutableScript : Script {
    3232    private Thread scriptThread;
  • branches/PersistenceReintegration/HeuristicLab.Scripting/3.3/HeuristicLab.Scripting-3.3.csproj

    r14926 r14927  
    133133      <Private>False</Private>
    134134    </ProjectReference>
     135    <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj">
     136      <Project>{102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B}</Project>
     137      <Name>HeuristicLab.Persistence-3.3</Name>
     138    </ProjectReference>
    135139    <ProjectReference Include="..\..\HeuristicLab.Persistence\4.0\HeuristicLab.Persistence-4.0.csproj">
    136140      <Project>{b1663091-8156-4deb-9e37-5b19810a4644}</Project>
  • branches/PersistenceReintegration/HeuristicLab.Scripting/3.3/Script.cs

    r14185 r14927  
    3232using HeuristicLab.Common.Resources;
    3333using HeuristicLab.Core;
    34 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     34using HeuristicLab.Persistence;
    3535using Microsoft.CSharp;
    3636
    3737namespace HeuristicLab.Scripting {
    38   [StorableClass]
     38  [StorableType("69a26fc4-3594-4a88-b5ba-462d7fcd517c")]
    3939  public abstract class Script : NamedItem, IProgrammableItem {
    4040    #region Fields & Properties
  • branches/PersistenceReintegration/HeuristicLab.Scripting/3.3/Scripts/CSharp/CSharpScript.cs

    r14185 r14927  
    2525using HeuristicLab.Common;
    2626using HeuristicLab.Core;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HeuristicLab.Persistence;
    2828
    2929namespace HeuristicLab.Scripting {
    3030  [Item("C# Script", "An empty C# script.")]
    3131  [Creatable(CreatableAttribute.Categories.Scripts, Priority = 100)]
    32   [StorableClass]
     32  [StorableType("accc9990-887e-43c8-a759-5978f9862639")]
    3333  public class CSharpScript : ExecutableScript, IStorableContent {
    3434    #region Fields & Properties
  • branches/PersistenceReintegration/HeuristicLab.Scripting/3.3/VariableStore.cs

    r14185 r14927  
    2828using HeuristicLab.Core;
    2929using HeuristicLab.Persistence.Core;
    30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     30using HeuristicLab.Persistence;
    3131using HeuristicLab.Persistence.Default.Xml;
    3232
    3333namespace HeuristicLab.Scripting {
    3434  [Item("VariableStore", "Represents a variable store.")]
    35   [StorableClass]
     35  [StorableType("d9785eb6-c5a7-4b2a-831e-ce41d50117d1")]
    3636  public class VariableStore : ObservableDictionary<string, object>, IItem {
    3737    #region Properties
Note: See TracChangeset for help on using the changeset viewer.