Ignore:
Timestamp:
07/31/14 10:10:21 (8 years ago)
Author:
mkommend
Message:

#2223: Adapted events signatures in the directed graph.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core/3.3/Collections/DirectedGraph/DirectedGraph.cs

    r11249 r11250  
    143143
    144144    // events
    145     public event EventHandler VertexAdded;
     145    public event EventHandler<EventArgs<IVertex> VertexAdded;
    146146    protected virtual void OnVertedAdded(object sender, EventArgs<IVertex> args) {
    147147      var added = VertexAdded;
     
    150150    }
    151151
    152     public event EventHandler VertexRemoved;
     152    public event EventHandler<EventArgs<IVertex>> VertexRemoved;
    153153    protected virtual void OnVertexRemoved(object sender, EventArgs<IVertex> args) {
    154154      var removed = VertexRemoved;
     
    157157    }
    158158
    159     public event EventHandler ArcAdded;
     159    public event EventHandler<EventArgs<IArc>> ArcAdded;
    160160    protected virtual void OnArcAdded(object sender, EventArgs<IArc> args) {
    161161      var added = ArcAdded;
     
    164164    }
    165165
    166     public event EventHandler ArcRemoved;
     166    public event EventHandler<EventArgs<IArc>> ArcRemoved;
    167167    protected virtual void OnArcRemoved(object sender, EventArgs<IArc> args) {
    168168      var removed = ArcRemoved;
Note: See TracChangeset for help on using the changeset viewer.