Free cookie consent management tool by TermsFeed Policy Generator

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

#2582 created branch for Hive Web Job Manager

Location:
branches/WebJobManager
Files:
12 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/WebJobManager/HeuristicLab.Data/3.3/BoolValue.cs

    r12012 r13656  
    3131  [StorableClass]
    3232  public class BoolValue : ValueTypeValue<bool>, IComparable, IStringConvertibleValue {
    33     public static new Image StaticItemImage {
    34       get { return HeuristicLab.Common.Resources.VSImageLibrary.Field; }
     33    public static new Image StaticItemImage
     34    {
     35      get { return new Bitmap(25, 25); }
    3536    }
    3637
  • branches/WebJobManager/HeuristicLab.Data/3.3/Comparison.cs

    r12012 r13656  
    3030  [StorableClass]
    3131  public class Comparison : ValueTypeValue<ComparisonType>, IComparable {
    32     public static new Image StaticItemImage {
    33       get { return HeuristicLab.Common.Resources.VSImageLibrary.Enum; }
     32    public static new Image StaticItemImage
     33    {
     34      get { return new Bitmap(25, 25); }
    3435    }
    3536
  • branches/WebJobManager/HeuristicLab.Data/3.3/DoubleValue.cs

    r12433 r13656  
    3131  [StorableClass]
    3232  public class DoubleValue : ValueTypeValue<double>, IComparable, IStringConvertibleValue {
    33     public static new Image StaticItemImage {
    34       get { return HeuristicLab.Common.Resources.VSImageLibrary.Field; }
     33    public static new Image StaticItemImage
     34    {
     35      get { return new Bitmap(25, 25); }
    3536    }
    3637
  • branches/WebJobManager/HeuristicLab.Data/3.3/EnumValue.cs

    r12148 r13656  
    3030  [StorableClass]
    3131  public sealed class EnumValue<T> : ValueTypeValue<T>, IComparable<EnumValue<T>> where T : struct, IComparable {
    32     public static new Image StaticItemImage {
    33       get { return HeuristicLab.Common.Resources.VSImageLibrary.Enum; }
     32    public static new Image StaticItemImage
     33    {
     34      get { return new Bitmap(25, 25); }
    3435    }
    3536
  • branches/WebJobManager/HeuristicLab.Data/3.3/IntValue.cs

    r12012 r13656  
    3131  [StorableClass]
    3232  public class IntValue : ValueTypeValue<int>, IComparable, IStringConvertibleValue {
    33     public static new Image StaticItemImage {
    34       get { return HeuristicLab.Common.Resources.VSImageLibrary.Field; }
     33    public static new Image StaticItemImage
     34    {
     35      get { return new Bitmap(25, 25); }
    3536    }
    3637
  • branches/WebJobManager/HeuristicLab.Data/3.3/StringArray.cs

    r12012 r13656  
    3636    private const int maximumToStringLength = 100;
    3737
    38     public static new Image StaticItemImage {
    39       get { return HeuristicLab.Common.Resources.VSImageLibrary.Class; }
     38    public static new Image StaticItemImage
     39    {
     40      get { return new Bitmap(25, 25); }
    4041    }
    4142
     
    4546    [Storable]
    4647    protected List<string> elementNames;
    47     public virtual IEnumerable<string> ElementNames {
     48    public virtual IEnumerable<string> ElementNames
     49    {
    4850      get { return this.elementNames; }
    49       set {
     51      set
     52      {
    5053        if (ReadOnly) throw new NotSupportedException("ElementNames cannot be set. ValueTypeArray is read-only.");
    5154        if (value == null || !value.Any())
     
    5962    }
    6063
    61     public virtual int Length {
     64    public virtual int Length
     65    {
    6266      get { return array.Length; }
    63       protected set {
     67      protected set
     68      {
    6469        if (ReadOnly) throw new NotSupportedException("Length cannot be set. StringArray is read-only.");
    6570        if (value != Length) {
     
    7277      }
    7378    }
    74     public virtual string this[int index] {
     79    public virtual string this[int index]
     80    {
    7581      get { return array[index]; }
    76       set {
     82      set
     83      {
    7784        if (ReadOnly) throw new NotSupportedException("Item cannot be set. StringArray is read-only.");
    7885        if (value != array[index]) {
     
    8794    [Storable]
    8895    protected bool readOnly;
    89     public virtual bool ReadOnly {
     96    public virtual bool ReadOnly
     97    {
    9098      get { return readOnly; }
    9199    }
     
    203211
    204212    #region IStringConvertibleArray Members
    205     int IStringConvertibleArray.Length {
     213    int IStringConvertibleArray.Length
     214    {
    206215      get { return Length; }
    207216      set { Length = value; }
  • branches/WebJobManager/HeuristicLab.Data/3.3/StringConvertibleValueTuple.cs

    r12012 r13656  
    3232    where T : class, IDeepCloneable, IStringConvertibleValue
    3333    where U : class, IDeepCloneable, IStringConvertibleValue {
    34     public static new Image StaticItemImage {
    35       get { return HeuristicLab.Common.Resources.VSImageLibrary.ValueType; }
     34    public static new Image StaticItemImage
     35    {
     36      get { return new Bitmap(25, 25); }
    3637    }
    3738
    3839    [Storable]
    3940    protected bool readOnly;
    40     public virtual bool ReadOnly {
     41    public virtual bool ReadOnly
     42    {
    4143      get { return readOnly; }
    4244    }
  • branches/WebJobManager/HeuristicLab.Data/3.3/StringMatrix.cs

    r12012 r13656  
    3636    private const int maximumToStringLength = 100;
    3737
    38     public static new Image StaticItemImage {
    39       get { return HeuristicLab.Common.Resources.VSImageLibrary.Class; }
     38    public static new Image StaticItemImage
     39    {
     40      get { return new Bitmap(25, 25); }
    4041    }
    4142
     
    4546    [Storable]
    4647    protected List<string> columnNames;
    47     public virtual IEnumerable<string> ColumnNames {
     48    public virtual IEnumerable<string> ColumnNames
     49    {
    4850      get { return this.columnNames; }
    49       set {
     51      set
     52      {
    5053        if (ReadOnly) throw new NotSupportedException("ColumnNames cannot be set. StringMatrix is read-only.");
    5154        if (value == null || value.Count() == 0)
     
    6063    [Storable]
    6164    protected List<string> rowNames;
    62     public virtual IEnumerable<string> RowNames {
     65    public virtual IEnumerable<string> RowNames
     66    {
    6367      get { return this.rowNames; }
    64       set {
     68      set
     69      {
    6570        if (ReadOnly) throw new NotSupportedException("RowNames cannot be set. StringMatrix is read-only.");
    6671        if (value == null || value.Count() == 0)
     
    7580    [Storable]
    7681    protected bool sortableView;
    77     public virtual bool SortableView {
     82    public virtual bool SortableView
     83    {
    7884      get { return sortableView; }
    79       set {
     85      set
     86      {
    8087        if (ReadOnly) throw new NotSupportedException("SortableView cannot be set. StringMatrix is read-only.");
    8188        if (value != sortableView) {
     
    8693    }
    8794
    88     public virtual int Rows {
     95    public virtual int Rows
     96    {
    8997      get { return matrix.GetLength(0); }
    90       protected set {
     98      protected set
     99      {
    91100        if (ReadOnly) throw new NotSupportedException("Rows cannot be set. StringMatrix is read-only.");
    92101        if (value != Rows) {
     
    104113      }
    105114    }
    106     public virtual int Columns {
     115    public virtual int Columns
     116    {
    107117      get { return matrix.GetLength(1); }
    108       protected set {
     118      protected set
     119      {
    109120        if (ReadOnly) throw new NotSupportedException("Columns cannot be set. StringMatrix is read-only.");
    110121        if (value != Columns) {
     
    123134      }
    124135    }
    125     public virtual string this[int rowIndex, int columnIndex] {
     136    public virtual string this[int rowIndex, int columnIndex]
     137    {
    126138      get { return matrix[rowIndex, columnIndex]; }
    127       set {
     139      set
     140      {
    128141        if (ReadOnly) throw new NotSupportedException("Item cannot be set. StringMatrix is read-only.");
    129142        if (value != matrix[rowIndex, columnIndex]) {
     
    138151    [Storable]
    139152    protected bool readOnly;
    140     public virtual bool ReadOnly {
     153    public virtual bool ReadOnly
     154    {
    141155      get { return readOnly; }
    142156    }
     
    309323
    310324    #region IStringConvertibleMatrix Members
    311     int IStringConvertibleMatrix.Rows {
     325    int IStringConvertibleMatrix.Rows
     326    {
    312327      get { return Rows; }
    313328      set { Rows = value; }
    314329    }
    315     int IStringConvertibleMatrix.Columns {
     330    int IStringConvertibleMatrix.Columns
     331    {
    316332      get { return Columns; }
    317333      set { Columns = value; }
  • branches/WebJobManager/HeuristicLab.Data/3.3/StringValue.cs

    r12012 r13656  
    3030  [StorableClass]
    3131  public class StringValue : Item, IComparable, IStringConvertibleValue {
    32     public static new Image StaticItemImage {
    33       get { return HeuristicLab.Common.Resources.VSImageLibrary.Field; }
     32    public static new Image StaticItemImage
     33    {
     34      get { return new Bitmap(25, 25); }
    3435    }
    3536
    3637    [Storable]
    3738    protected string value;
    38     public virtual string Value {
     39    public virtual string Value
     40    {
    3941      get { return value; }
    40       set {
     42      set
     43      {
    4144        if (ReadOnly) throw new NotSupportedException("Value cannot be set. StringValue is read-only.");
    4245        if (value != this.value) {
     
    5154    [Storable]
    5255    protected bool readOnly;
    53     public virtual bool ReadOnly {
     56    public virtual bool ReadOnly
     57    {
    5458      get { return readOnly; }
    5559    }
  • branches/WebJobManager/HeuristicLab.Data/3.3/ValueTypeArray.cs

    r12012 r13656  
    3636    private const int maximumToStringLength = 100;
    3737
    38     public static new Image StaticItemImage {
    39       get { return HeuristicLab.Common.Resources.VSImageLibrary.Class; }
     38    public static new Image StaticItemImage
     39    {
     40      get { return new Bitmap(25, 25); }
    4041    }
    4142
     
    4546    [Storable]
    4647    protected List<string> elementNames;
    47     public virtual IEnumerable<string> ElementNames {
     48    public virtual IEnumerable<string> ElementNames
     49    {
    4850      get { return this.elementNames; }
    49       set {
     51      set
     52      {
    5053        if (ReadOnly) throw new NotSupportedException("ElementNames cannot be set. ValueTypeArray is read-only.");
    5154        if (value == null || !value.Any())
     
    5962    }
    6063
    61     public virtual int Length {
     64    public virtual int Length
     65    {
    6266      get { return array.Length; }
    6367      #region Mono Compatibility
    6468      // this setter should be protected, but the Mono compiler couldn't handle it
    65       set {
     69      set
     70      {
    6671        if (ReadOnly) throw new NotSupportedException("Length cannot be set. ValueTypeArray is read-only.");
    6772        if (value != Length) {
     
    7580      #endregion
    7681    }
    77     public virtual T this[int index] {
     82    public virtual T this[int index]
     83    {
    7884      get { return array[index]; }
    79       set {
     85      set
     86      {
    8087        if (ReadOnly) throw new NotSupportedException("Item cannot be set. ValueTypeArray is read-only.");
    8188        if (!value.Equals(array[index])) {
     
    8895    [Storable]
    8996    protected bool readOnly;
    90     public virtual bool ReadOnly {
     97    public virtual bool ReadOnly
     98    {
    9199      get { return readOnly; }
    92100    }
  • branches/WebJobManager/HeuristicLab.Data/3.3/ValueTypeMatrix.cs

    r12012 r13656  
    3636    private const int maximumToStringLength = 100;
    3737
    38     public static new Image StaticItemImage {
    39       get { return HeuristicLab.Common.Resources.VSImageLibrary.Class; }
     38    public static new Image StaticItemImage
     39    {
     40      get { return new Bitmap(25, 25); }
    4041    }
    4142
     
    4546    [Storable]
    4647    protected List<string> columnNames;
    47     public virtual IEnumerable<string> ColumnNames {
     48    public virtual IEnumerable<string> ColumnNames
     49    {
    4850      get { return this.columnNames; }
    49       set {
     51      set
     52      {
    5053        if (ReadOnly) throw new NotSupportedException("ColumnNames cannot be set. ValueTypeMatrix is read-only.");
    5154        if (value == null || value.Count() == 0)
     
    6063    [Storable]
    6164    protected List<string> rowNames;
    62     public virtual IEnumerable<string> RowNames {
     65    public virtual IEnumerable<string> RowNames
     66    {
    6367      get { return this.rowNames; }
    64       set {
     68      set
     69      {
    6570        if (ReadOnly) throw new NotSupportedException("RowNames cannot be set. ValueTypeMatrix is read-only.");
    6671        if (value == null || value.Count() == 0)
     
    7580    [Storable]
    7681    protected bool sortableView;
    77     public virtual bool SortableView {
     82    public virtual bool SortableView
     83    {
    7884      get { return sortableView; }
    79       set {
     85      set
     86      {
    8087        if (ReadOnly) throw new NotSupportedException("SortableView cannot be set. ValueTypeMatrix is read-only.");
    8188        if (value != sortableView) {
     
    8693    }
    8794
    88     public virtual int Rows {
     95    public virtual int Rows
     96    {
    8997      get { return matrix.GetLength(0); }
    90       protected set {
     98      protected set
     99      {
    91100        if (ReadOnly) throw new NotSupportedException("Rows cannot be set. ValueTypeMatrix is read-only.");
    92101        if (value != Rows) {
     
    104113      }
    105114    }
    106     public virtual int Columns {
     115    public virtual int Columns
     116    {
    107117      get { return matrix.GetLength(1); }
    108       protected set {
     118      protected set
     119      {
    109120        if (ReadOnly) throw new NotSupportedException("Columns cannot be set. ValueTypeMatrix is read-only.");
    110121        if (value != Columns) {
     
    123134      }
    124135    }
    125     public virtual T this[int rowIndex, int columnIndex] {
     136    public virtual T this[int rowIndex, int columnIndex]
     137    {
    126138      get { return matrix[rowIndex, columnIndex]; }
    127       set {
     139      set
     140      {
    128141        if (ReadOnly) throw new NotSupportedException("Item cannot be set. ValueTypeMatrix is read-only.");
    129142        if (!value.Equals(matrix[rowIndex, columnIndex])) {
     
    136149    [Storable]
    137150    protected bool readOnly;
    138     public virtual bool ReadOnly {
     151    public virtual bool ReadOnly
     152    {
    139153      get { return readOnly; }
    140154    }
  • branches/WebJobManager/HeuristicLab.Data/3.3/ValueTypeValue.cs

    r12012 r13656  
    3030  [StorableClass]
    3131  public abstract class ValueTypeValue<T> : Item where T : struct {
    32     public static new Image StaticItemImage {
    33       get { return HeuristicLab.Common.Resources.VSImageLibrary.ValueType; }
     32    public static new Image StaticItemImage
     33    {
     34      get { return new Bitmap(25, 25); }
    3435    }
    3536
    3637    [Storable]
    3738    protected T value;
    38     public virtual T Value {
     39    public virtual T Value
     40    {
    3941      get { return value; }
    40       set {
     42      set
     43      {
    4144        if (ReadOnly) throw new NotSupportedException("Value cannot be set. ValueTypeValue is read-only.");
    4245        if (!value.Equals(this.value)) {
     
    4952    [Storable]
    5053    protected bool readOnly;
    51     public virtual bool ReadOnly {
     54    public virtual bool ReadOnly
     55    {
    5256      get { return readOnly; }
    5357    }
Note: See TracChangeset for help on using the changeset viewer.