Changeset 776 for trunk/sources/HeuristicLab.Core/NameChangingEventArgs.cs
- Timestamp:
- 11/19/08 12:12:39 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core/NameChangingEventArgs.cs
r2 r776 26 26 27 27 namespace HeuristicLab.Core { 28 /// <summary> 29 /// Event arguments to be able to specify the affected name. 30 /// </summary> 28 31 public class NameChangingEventArgs : CancelEventArgs { 29 32 private string myName; 33 /// <summary> 34 /// Gets the affected name. 35 /// </summary> 30 36 public string Name { 31 37 get { return myName; } 32 38 } 33 39 40 /// <summary> 41 /// Initializes a new instance of <see cref="NameChangingEventArgs"/> 42 /// with the specified <paramref name="name"/>. 43 /// </summary> 44 /// <param name="name">The affected name.</param> 34 45 public NameChangingEventArgs(string name) 35 46 : base() { 36 47 myName = name; 37 48 } 49 /// <summary> 50 /// Initializes a new instance of <see cref="NameChangingEventArgs"/> 51 /// with the specified <paramref name="name"/> and a flag whether the event has been canceled. 52 /// </summary> 53 /// <remarks>Calls constructor of base class <see cref="CancelEventArgs"/>.</remarks> 54 /// <param name="name">The affected name.</param> 55 /// <param name="cancel">Flag, whether the event has been canceled.</param> 38 56 public NameChangingEventArgs(string name, bool cancel) 39 57 : base(cancel) {
Note: See TracChangeset
for help on using the changeset viewer.