Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/22/10 00:44:01 (14 years ago)
Author:
swagner
Message:

Sorted usings and removed unused usings in entire solution (#1094)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/UndoRedo/Commands/BindConnectorsCommand.cs

    r2768 r4068  
    1 using System;
    2 using System.Collections.Generic;
    3 using System.Text;
    41
    5 namespace Netron.Diagramming.Core
    6 {
    7     class BindConnectorsCommand : Command
    8     {
    9         IConnector parent;
    10         IConnector child;
     2namespace Netron.Diagramming.Core {
     3  class BindConnectorsCommand : Command {
     4    IConnector parent;
     5    IConnector child;
    116
    12         public override void Redo()
    13         {
    14             parent.AttachConnector(child);
    15         }
    16         public override void Undo()
    17         {
    18             parent.DetachConnector(child);
    19         }
     7    public override void Redo() {
     8      parent.AttachConnector(child);
     9    }
     10    public override void Undo() {
     11      parent.DetachConnector(child);
     12    }
    2013
    21         #region Constructor
    22         ///<summary>
    23         ///Default constructor
    24         ///</summary>
    25         public BindConnectorsCommand(IController controller, IConnector parent, IConnector child) : base(controller)
    26         {
    27             this.parent = parent;
    28             this.child = child;
    29         }
    30         #endregion
    31  
     14    #region Constructor
     15    ///<summary>
     16    ///Default constructor
     17    ///</summary>
     18    public BindConnectorsCommand(IController controller, IConnector parent, IConnector child)
     19      : base(controller) {
     20      this.parent = parent;
     21      this.child = child;
    3222    }
     23    #endregion
     24
     25  }
    3326}
Note: See TracChangeset for help on using the changeset viewer.