Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Core/3.3/KeyValueEventArgs.cs @ 1921

Last change on this file since 1921 was 1529, checked in by gkronber, 15 years ago

Moved source files of plugins AdvancedOptimizationFrontEnd ... Grid into version-specific sub-folders. #576

File size: 1002 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Text;
4
5namespace HeuristicLab.Core {
6  /// <summary>
7  /// Event arguments to be able to specify the affected key-value pair.
8  /// </summary>
9  public class KeyValueEventArgs : EventArgs {
10
11    private IItem key;
12    /// <summary>
13    /// Gets the affected key.
14    /// </summary>
15    public IItem Key {
16      get { return key; }
17    }
18
19    private IItem value;
20    /// <summary>
21    /// Gets the affected value.
22    /// </summary>
23    public IItem Value {
24      get { return value; }
25    }
26
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>
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.