Last change
on this file since 1835 was
1529,
checked in by gkronber, 16 years ago
|
Moved source files of plugins AdvancedOptimizationFrontEnd ... Grid into version-specific sub-folders. #576
|
File size:
1002 bytes
|
Rev | Line | |
---|
[187] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.Text;
|
---|
| 4 |
|
---|
| 5 | namespace HeuristicLab.Core {
|
---|
[776] | 6 | /// <summary>
|
---|
| 7 | /// Event arguments to be able to specify the affected key-value pair.
|
---|
| 8 | /// </summary>
|
---|
[187] | 9 | public class KeyValueEventArgs : EventArgs {
|
---|
| 10 |
|
---|
| 11 | private IItem key;
|
---|
[776] | 12 | /// <summary>
|
---|
| 13 | /// Gets the affected key.
|
---|
| 14 | /// </summary>
|
---|
[187] | 15 | public IItem Key {
|
---|
| 16 | get { return key; }
|
---|
| 17 | }
|
---|
| 18 |
|
---|
| 19 | private IItem value;
|
---|
[776] | 20 | /// <summary>
|
---|
| 21 | /// Gets the affected value.
|
---|
| 22 | /// </summary>
|
---|
[187] | 23 | public IItem Value {
|
---|
| 24 | get { return value; }
|
---|
| 25 | }
|
---|
| 26 |
|
---|
[776] | 27 | /// <summary>
|
---|
| 28 | /// Initializes a new instance of <see cref="KeyValueEventArgs"/> with the given <paramref name="key"/>
|
---|
| 29 | /// and <paramref name="value"/>.
|
---|
| 30 | /// </summary>
|
---|
| 31 | /// <param name="key">The affected key.</param>
|
---|
| 32 | /// <param name="value">The affected value.</param>
|
---|
[187] | 33 | public KeyValueEventArgs(IItem key, IItem value) {
|
---|
| 34 | this.key = key;
|
---|
| 35 | this.value = value;
|
---|
| 36 | }
|
---|
| 37 | }
|
---|
| 38 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.