singrdk/base/Applications/Runtime/Full/System/Collections/IHashCodeProvider.cs

28 lines
817 B
C#
Raw Normal View History

2008-03-05 09:52:00 -05:00
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
2008-11-17 18:29:00 -05:00
//============================================================
//
// Interface: IHashCodeProvider
//
// Purpose: A bunch of strings.
//
//===========================================================
namespace System.Collections
{
2008-03-05 09:52:00 -05:00
using System;
// Provides a mechanism for a hash table user to override the default
// GetHashCode() function on Objects, providing their own hash function.
//| <include path='docs/doc[@for="IHashCodeProvider"]/*' />
public interface IHashCodeProvider
{
// Returns a hash code for the given object.
//
//| <include path='docs/doc[@for="IHashCodeProvider.GetHashCode"]/*' />
int GetHashCode (Object obj);
}
}