Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/07/16 10:18:05 (9 years ago)
Author:
ascheibe
Message:

#2582 created branch for Hive Web Job Manager

Location:
branches/WebJobManager
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/WebJobManager/HeuristicLab.Scripting/3.3/Script.cs

    r13218 r13656  
    2424using System.CodeDom.Compiler;
    2525using System.Collections.Generic;
    26 using System.Drawing;
    2726using System.IO;
    2827using System.Linq;
     
    3029using System.Text;
    3130using HeuristicLab.Common;
    32 using HeuristicLab.Common.Resources;
    3331using HeuristicLab.Core;
    3432using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     
    3937  public abstract class Script : NamedItem, IProgrammableItem {
    4038    #region Fields & Properties
    41     public static new Image StaticItemImage {
    42       get { return VSImageLibrary.Script; }
    43     }
     39
    4440
    4541    [Storable]
    4642    private string code;
    47     public string Code {
     43    public string Code
     44    {
    4845      get { return code; }
    49       set {
     46      set
     47      {
    5048        if (value == code) return;
    5149        code = value;
     
    5553
    5654    private CompilerErrorCollection compileErrors;
    57     public CompilerErrorCollection CompileErrors {
     55    public CompilerErrorCollection CompileErrors
     56    {
    5857      get { return compileErrors; }
    59       private set {
     58      private set
     59      {
    6060        compileErrors = value;
    6161        OnCompileErrorsChanged();
  • branches/WebJobManager/HeuristicLab.Scripting/3.3/VariableStore.cs

    r12012 r13656  
    2525using HeuristicLab.Collections;
    2626using HeuristicLab.Common;
    27 using HeuristicLab.Common.Resources;
    2827using HeuristicLab.Core;
    2928using HeuristicLab.Persistence.Core;
     
    3635  public class VariableStore : ObservableDictionary<string, object>, IItem {
    3736    #region Properties
    38     public virtual string ItemName {
     37    public virtual string ItemName
     38    {
    3939      get { return ItemAttribute.GetName(GetType()); }
    4040    }
    41     public virtual string ItemDescription {
     41    public virtual string ItemDescription
     42    {
    4243      get { return ItemAttribute.GetDescription(GetType()); }
    4344    }
    44     public Version ItemVersion {
     45    public Version ItemVersion
     46    {
    4547      get { return ItemAttribute.GetVersion(GetType()); }
    4648    }
    47     public static Image StaticItemImage {
    48       get { return VSImageLibrary.Class; }
    49     }
    50     public virtual Image ItemImage {
     49
     50    public virtual Image ItemImage
     51    {
    5152      get { return ItemAttribute.GetImage(GetType()); }
    5253    }
     
    6566          try {
    6667            dict[kvp.Key] = CloneByPersistence(kvp.Value);
    67           } catch (PersistenceException pe) {
     68          }
     69          catch (PersistenceException pe) {
    6870            throw new NotSupportedException(string.Format(@"VariableStore: Variable ""{0}"" could not be cloned.", kvp.Key), pe);
    6971          }
Note: See TracChangeset for help on using the changeset viewer.