//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
using System.Collections.ObjectModel;
using System.Globalization;
namespace System.IdentityModel.Metadata
{
///
/// A collection of objects.
///
/// The type.
public class LocalizedEntryCollection : KeyedCollection where T : LocalizedEntry
{
///
/// Gets the key for the .
///
/// The input item for which the key is to be retrieved.
/// A object representing the key for the .
protected override CultureInfo GetKeyForItem(T item)
{
return item.Language;
}
}
}