Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/21/10 02:04:44 (15 years ago)
Author:
swagner
Message:

Abandoned policy that the names of all abstract base classes have to end in "Base" (#95)

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  
    3434  [Creatable("Test")]
    3535  [EmptyStorableClass]
    36   public sealed class EmptyOperator : StandardOperatorBase {
     36  public sealed class EmptyOperator : StandardOperator {
    3737    public EmptyOperator()
    3838      : base() {
  • trunk/sources/HeuristicLab.Operators/3.3/HeuristicLab.Operators-3.3.csproj

    r2663 r2664  
    8989    </Compile>
    9090    <Compile Include="HeuristicLabOperatorsPlugin.cs" />
    91     <Compile Include="OperatorBase.cs" />
     91    <Compile Include="Operator.cs" />
    9292    <Compile Include="Properties\AssemblyInfo.cs" />
    93     <Compile Include="StandardOperatorBase.cs" />
     93    <Compile Include="StandardOperator.cs" />
    9494  </ItemGroup>
    9595  <ItemGroup>
  • trunk/sources/HeuristicLab.Operators/3.3/Operator.cs

    r2663 r2664  
    3333  /// The base class for all operators.
    3434  /// </summary>
    35   [Item("OperatorBase", "Base class for operators.")]
    36   public abstract class OperatorBase : NamedItemBase, IOperator {
     35  [Item("Operator", "Base class for operators.")]
     36  public abstract class Operator : NamedItem, IOperator {
    3737    public override Image ItemImage {
    3838      get { return HeuristicLab.Common.Resources.VS2008ImageLibrary.Method; }
     
    8585    /// the canceled flag to <c>false</c> and the name of the operator to the type name.
    8686    /// </summary>
    87     protected OperatorBase() {
     87    protected Operator() {
    8888      name = ItemName;
    8989      Parameters = new ParameterCollection();
     
    100100    /// <returns>The cloned object as <see cref="OperatorBase"/>.</returns>
    101101    public override IDeepCloneable Clone(Cloner cloner) {
    102       OperatorBase clone = (OperatorBase)base.Clone(cloner);
     102      Operator clone = (Operator)base.Clone(cloner);
    103103      clone.Parameters = (ParameterCollection)cloner.Clone(parameters);
    104104      clone.canceled = canceled;
  • trunk/sources/HeuristicLab.Operators/3.3/StandardOperator.cs

    r2663 r2664  
    3131  /// A base class for operators which have only one successor.
    3232  /// </summary>
    33   [Item("StandardOperatorBase", "A base class for operators which have only one successor.")]
     33  [Item("Standard Operator", "A base class for operators which have only one successor.")]
    3434  [Creatable("Test")]
    3535  [EmptyStorableClass]
    36   public abstract class StandardOperatorBase : OperatorBase {
     36  public abstract class StandardOperator : Operator {
    3737    public OperatorParameter Successor {
    3838      get { return (OperatorParameter)Parameters["Successor"]; }
    3939    }
    4040
    41     public StandardOperatorBase()
     41    public StandardOperator()
    4242      : base() {
    4343      Parameters.Add(new OperatorParameter("Successor", "Operator which is executed next"));
Note: See TracChangeset for help on using the changeset viewer.