using System; using System.Collections.ObjectModel; namespace DotNetOpenAuth.Web.Clients { /// /// A collection to store instances of IAuthenticationClient by keying off ProviderName. /// internal sealed class AuthenticationClientCollection : KeyedCollection { public AuthenticationClientCollection() : base(StringComparer.OrdinalIgnoreCase) { } protected override string GetKeyForItem(IAuthenticationClient item) { return item.ProviderName; } } }