- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Scripting/3.3
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Scripting/3.3/ExecutableScript.cs
r16453 r16462 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Core; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Scripting { 29 29 [Item("Executable Script", "An executable script.")] 30 [Storable Class]30 [StorableType("206BFDFE-A829-424E-BFAD-BB7993830325")] 31 31 public abstract class ExecutableScript : Script { 32 32 private Thread scriptThread; … … 47 47 #region Construction & Cloning 48 48 [StorableConstructor] 49 protected ExecutableScript( bool deserializing) : base(deserializing) { }49 protected ExecutableScript(StorableConstructorFlag _) : base(_) { } 50 50 protected ExecutableScript(ExecutableScript original, Cloner cloner) 51 51 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Scripting/3.3/HeuristicLab.Scripting-3.3.csproj
r16454 r16462 84 84 <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath> 85 85 </Reference> 86 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">86 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 87 87 <HintPath>..\..\packages\HEAL.Fossil.1.0.0\lib\netstandard2.0\HEAL.Fossil.dll</HintPath> 88 88 </Reference> -
branches/2520_PersistenceReintegration/HeuristicLab.Scripting/3.3/Script.cs
r16453 r16462 32 32 using HeuristicLab.Common.Resources; 33 33 using HeuristicLab.Core; 34 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;34 using HEAL.Fossil; 35 35 using Microsoft.CSharp; 36 36 37 37 namespace HeuristicLab.Scripting { 38 [Storable Class]38 [StorableType("0FA4F218-E1F5-4C09-9C2F-12B32D4EC373")] 39 39 public abstract class Script : NamedItem, IProgrammableItem { 40 40 #region Fields & Properties … … 66 66 #region Construction & Initialization 67 67 [StorableConstructor] 68 protected Script( bool deserializing) : base(deserializing) { }68 protected Script(StorableConstructorFlag _) : base(_) { } 69 69 protected Script(Script original, Cloner cloner) 70 70 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Scripting/3.3/Scripts/CSharp/CSharpScript.cs
r16453 r16462 25 25 using HeuristicLab.Common; 26 26 using HeuristicLab.Core; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Scripting { 30 30 [Item("C# Script", "An empty C# script.")] 31 31 [Creatable(CreatableAttribute.Categories.Scripts, Priority = 100)] 32 [Storable Class]32 [StorableType("1630933C-AB5B-44EC-A967-C299CC57E4E3")] 33 33 public class CSharpScript : ExecutableScript, IStorableContent { 34 34 #region Fields & Properties … … 49 49 #region Construction & Cloning 50 50 [StorableConstructor] 51 protected CSharpScript( bool deserializing) : base(deserializing) { }51 protected CSharpScript(StorableConstructorFlag _) : base(_) { } 52 52 protected CSharpScript(CSharpScript original, Cloner cloner) 53 53 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Scripting/3.3/Scripts/Templates/CSharpScriptTemplate.cs
r11825 r16462 6 6 // use 'variables' to work with IEnumerable<T> extension methods on the script's variable store 7 7 8 using System;9 using System.Linq;10 using System.Collections.Generic;11 8 12 using HeuristicLab.Core;13 using HeuristicLab.Common;14 9 //using HeuristicLab.Collections; 15 10 //using HeuristicLab.Data; -
branches/2520_PersistenceReintegration/HeuristicLab.Scripting/3.3/VariableStore.cs
r16453 r16462 27 27 using HeuristicLab.Common.Resources; 28 28 using HeuristicLab.Core; 29 using HeuristicLab.Persistence.Core; 30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 29 using HEAL.Fossil; 31 30 using HeuristicLab.Persistence.Default.Xml; 32 31 33 32 namespace HeuristicLab.Scripting { 34 33 [Item("VariableStore", "Represents a variable store.")] 35 [Storable Class]34 [StorableType("DDE415E7-99FD-4C10-9B5E-63334876FFDE")] 36 35 public class VariableStore : ObservableDictionary<string, object>, IItem { 37 36 #region Properties … … 55 54 #region Constructors & Cloning 56 55 [StorableConstructor] 57 protected VariableStore( bool deserializing) : base(deserializing) { }56 protected VariableStore(StorableConstructorFlag _) : base(_) { } 58 57 protected VariableStore(VariableStore original, Cloner cloner) { 59 58 cloner.RegisterClonedObject(original, this);
Note: See TracChangeset
for help on using the changeset viewer.