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.Scripting/3.3
Files:
5 edited

Legend:

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

    r13368 r14711  
    2828namespace HeuristicLab.Scripting {
    2929  [Item("Executable Script", "An executable script.")]
    30   [StorableClass("7D7C1BAB-6E99-49C2-AE2E-23265E128A00")]
     30  [StorableType("7D7C1BAB-6E99-49C2-AE2E-23265E128A00")]
    3131  public abstract class ExecutableScript : Script {
    3232    private Thread scriptThread;
  • branches/PersistenceOverhaul/HeuristicLab.Scripting/3.3/Script.cs

    r13368 r14711  
    3636
    3737namespace HeuristicLab.Scripting {
    38   [StorableClass("1D217054-CDCC-4AF6-AF75-91F24E73D78D")]
     38  [StorableType("1D217054-CDCC-4AF6-AF75-91F24E73D78D")]
    3939  public abstract class Script : NamedItem, IProgrammableItem {
    4040    #region Fields & Properties
  • branches/PersistenceOverhaul/HeuristicLab.Scripting/3.3/Scripts/CSharp/CSharpScript.cs

    r13368 r14711  
    3030  [Item("C# Script", "An empty C# script.")]
    3131  [Creatable(CreatableAttribute.Categories.Scripts, Priority = 100)]
    32   [StorableClass("9B573A9A-F81D-433E-B39E-EA19F8FDB28E")]
     32  [StorableType("9B573A9A-F81D-433E-B39E-EA19F8FDB28E")]
    3333  public class CSharpScript : ExecutableScript, IStorableContent {
    3434    #region Fields & Properties
  • branches/PersistenceOverhaul/HeuristicLab.Scripting/3.3/Scripts/Templates/ScriptTemplates.resx

    r11833 r14711  
    119119  </resheader>
    120120  <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
    121   <data name="CSharpScriptTemplate" type="System.Resources.ResXFileRef, System.Windows.Forms">
     121  <data name="CSharpScriptTemplate" memberSelection="System.Resources.ResXFileRef, System.Windows.Forms">
    122122    <value>CSharpScriptTemplate.cs;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
    123123  </data>
  • branches/PersistenceOverhaul/HeuristicLab.Scripting/3.3/VariableStore.cs

    r13368 r14711  
    3333namespace HeuristicLab.Scripting {
    3434  [Item("VariableStore", "Represents a variable store.")]
    35   [StorableClass("1BD425CF-1E69-45B1-AC3C-E6B290F0B000")]
     35  [StorableType("1BD425CF-1E69-45B1-AC3C-E6B290F0B000")]
    3636  public class VariableStore : ObservableDictionary<string, object>, IItem {
    3737    #region Properties
Note: See TracChangeset for help on using the changeset viewer.