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:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/WebJobManager/HeuristicLab.Optimization/3.3/Problems/Problem.cs

    r12012 r13656  
    3535  public abstract class Problem : ParameterizedNamedItem, IProblem {
    3636    private const string OperatorsParameterName = "Operators";
    37     public IFixedValueParameter<ItemCollection<IItem>> OperatorsParameter {
     37    public IFixedValueParameter<ItemCollection<IItem>> OperatorsParameter
     38    {
    3839      get { return (IFixedValueParameter<ItemCollection<IItem>>)Parameters[OperatorsParameterName]; }
    3940    }
    4041
    41     public static new Image StaticItemImage {
    42       get { return HeuristicLab.Common.Resources.VSImageLibrary.Type; }
     42    public static new Image StaticItemImage
     43    {
     44      get { return new Bitmap(25, 25); }
    4345    }
    4446
     
    8587    #region Backwards compatible code, remove with 3.4
    8688    [Storable(Name = "Operators", AllowOneWay = true)]
    87     private IEnumerable<IOperator> StorableOperators {
    88       set {
     89    private IEnumerable<IOperator> StorableOperators
     90    {
     91      set
     92      {
    8993        IParameter operatorsParam;
    9094        if (Parameters.TryGetValue(OperatorsParameterName, out operatorsParam)) {
     
    102106    }
    103107    #endregion
    104     protected ItemCollection<IItem> Operators {
    105       get {
     108    protected ItemCollection<IItem> Operators
     109    {
     110      get
     111      {
    106112        // BackwardsCompatibility3.3
    107113        #region Backwards compatible code, remove with 3.4
     
    120126    }
    121127
    122     public virtual IEnumerable<IParameterizedItem> ExecutionContextItems {
     128    public virtual IEnumerable<IParameterizedItem> ExecutionContextItems
     129    {
    123130      get { yield return this; }
    124131    }
Note: See TracChangeset for help on using the changeset viewer.