// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
namespace System.Windows.Controls.DataVisualization
{
///
/// Represents a 2-tuple, or pair.
///
/// The type of the tuple's first component.
/// The type of the tuple's second component.
internal class Tuple
{
///
/// Gets the value of the current Tuple(T1, T2) object's first component.
///
public T1 Item1 { get; private set; }
///
/// Gets the value of the current Tuple(T1, T2) object's second component.
///
public T2 Item2 { get; private set; }
///
/// Initializes a new instance of the Tuple(T1, T2) class.
///
/// The value of the tuple's first component.
/// The value of the tuple's second component.
public Tuple(T1 item1, T2 item2)
{
Item1 = item1;
Item2 = item2;
}
}
}