Changeset 2664 for trunk/sources/HeuristicLab.Operators
- Timestamp:
- 01/21/10 02:04:44 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Operators/3.3
- Files:
-
- 2 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Operators/3.3/EmptyOperator.cs
r2663 r2664 34 34 [Creatable("Test")] 35 35 [EmptyStorableClass] 36 public sealed class EmptyOperator : StandardOperator Base{36 public sealed class EmptyOperator : StandardOperator { 37 37 public EmptyOperator() 38 38 : base() { -
trunk/sources/HeuristicLab.Operators/3.3/HeuristicLab.Operators-3.3.csproj
r2663 r2664 89 89 </Compile> 90 90 <Compile Include="HeuristicLabOperatorsPlugin.cs" /> 91 <Compile Include="Operator Base.cs" />91 <Compile Include="Operator.cs" /> 92 92 <Compile Include="Properties\AssemblyInfo.cs" /> 93 <Compile Include="StandardOperator Base.cs" />93 <Compile Include="StandardOperator.cs" /> 94 94 </ItemGroup> 95 95 <ItemGroup> -
trunk/sources/HeuristicLab.Operators/3.3/Operator.cs
r2663 r2664 33 33 /// The base class for all operators. 34 34 /// </summary> 35 [Item("Operator Base", "Base class for operators.")]36 public abstract class Operator Base : NamedItemBase, IOperator {35 [Item("Operator", "Base class for operators.")] 36 public abstract class Operator : NamedItem, IOperator { 37 37 public override Image ItemImage { 38 38 get { return HeuristicLab.Common.Resources.VS2008ImageLibrary.Method; } … … 85 85 /// the canceled flag to <c>false</c> and the name of the operator to the type name. 86 86 /// </summary> 87 protected Operator Base() {87 protected Operator() { 88 88 name = ItemName; 89 89 Parameters = new ParameterCollection(); … … 100 100 /// <returns>The cloned object as <see cref="OperatorBase"/>.</returns> 101 101 public override IDeepCloneable Clone(Cloner cloner) { 102 Operator Base clone = (OperatorBase)base.Clone(cloner);102 Operator clone = (Operator)base.Clone(cloner); 103 103 clone.Parameters = (ParameterCollection)cloner.Clone(parameters); 104 104 clone.canceled = canceled; -
trunk/sources/HeuristicLab.Operators/3.3/StandardOperator.cs
r2663 r2664 31 31 /// A base class for operators which have only one successor. 32 32 /// </summary> 33 [Item("Standard OperatorBase", "A base class for operators which have only one successor.")]33 [Item("Standard Operator", "A base class for operators which have only one successor.")] 34 34 [Creatable("Test")] 35 35 [EmptyStorableClass] 36 public abstract class StandardOperator Base : OperatorBase{36 public abstract class StandardOperator : Operator { 37 37 public OperatorParameter Successor { 38 38 get { return (OperatorParameter)Parameters["Successor"]; } 39 39 } 40 40 41 public StandardOperator Base()41 public StandardOperator() 42 42 : base() { 43 43 Parameters.Add(new OperatorParameter("Successor", "Operator which is executed next"));
Note: See TracChangeset
for help on using the changeset viewer.