Changeset 11250
- Timestamp:
- 07/31/14 10:10:21 (10 years ago)
- Location:
- trunk/sources/HeuristicLab.Core/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core/3.3/Collections/DirectedGraph/DirectedGraph.cs
r11249 r11250 143 143 144 144 // events 145 public event EventHandler VertexAdded;145 public event EventHandler<EventArgs<IVertex> VertexAdded; 146 146 protected virtual void OnVertedAdded(object sender, EventArgs<IVertex> args) { 147 147 var added = VertexAdded; … … 150 150 } 151 151 152 public event EventHandler VertexRemoved;152 public event EventHandler<EventArgs<IVertex>> VertexRemoved; 153 153 protected virtual void OnVertexRemoved(object sender, EventArgs<IVertex> args) { 154 154 var removed = VertexRemoved; … … 157 157 } 158 158 159 public event EventHandler ArcAdded;159 public event EventHandler<EventArgs<IArc>> ArcAdded; 160 160 protected virtual void OnArcAdded(object sender, EventArgs<IArc> args) { 161 161 var added = ArcAdded; … … 164 164 } 165 165 166 public event EventHandler ArcRemoved;166 public event EventHandler<EventArgs<IArc>> ArcRemoved; 167 167 protected virtual void OnArcRemoved(object sender, EventArgs<IArc> args) { 168 168 var removed = ArcRemoved; -
trunk/sources/HeuristicLab.Core/3.3/Interfaces/DirectedGraph/IDirectedGraph.cs
r11241 r11250 22 22 using System; 23 23 using System.Collections.Generic; 24 using HeuristicLab.Common; 24 25 25 26 namespace HeuristicLab.Core { … … 34 35 IEnumerable<IArc> Arcs { get; } 35 36 36 event EventHandler VertexAdded;37 event EventHandler VertexRemoved;38 event EventHandler ArcAdded;39 event EventHandler ArcRemoved;37 event EventHandler<EventArgs<IVertex>> VertexAdded; 38 event EventHandler<EventArgs<IVertex>> VertexRemoved; 39 event EventHandler<EventArgs<IArc>> ArcAdded; 40 event EventHandler<EventArgs<IArc>> ArcRemoved; 40 41 } 41 42 }
Note: See TracChangeset
for help on using the changeset viewer.