// (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
{
///
/// Information describing the ResourceDictionary dispensed when a
/// ResourceDictionaryDispensed event is raised.
///
internal class ResourceDictionaryDispensedEventArgs : EventArgs
{
///
/// Initializes a new instance of the ResourceDictionaryDispensedEventArgs class.
///
/// The index of the ResourceDictionary dispensed.
/// The ResourceDictionary dispensed.
public ResourceDictionaryDispensedEventArgs(int index, ResourceDictionary resourceDictionary)
{
this.ResourceDictionary = resourceDictionary;
this.Index = index;
}
///
/// Gets the index of the ResourceDictionary dispensed.
///
public int Index { get; private set; }
///
/// Gets the ResourceDictionary dispensed.
///
public ResourceDictionary ResourceDictionary { get; private set; }
///
/// Returns a value indicating whether two objects are equal.
///
/// The other object.
///
/// A value indicating whether the two objects are equal.
///
public override bool Equals(object obj)
{
return base.Equals(obj);
}
///
/// Returns a hash code.
///
/// A hash code.
public override int GetHashCode()
{
return base.GetHashCode();
}
}
}