Namespaces

Types

Type IdentityMap

Namespace NHibernate.Util

Interfaces IDictionary

Methods

Properties

Public instance methods

void Add(object key, object val)

Add
Parameters
object key
object val

void Clear()

Clear

bool Contains(object key)

Contains
Parameters
return bool
object key

void CopyTo(Array array, int i)

CopyTo
Parameters
Array array
int i

bool Equals(object obj)

Parameters
return bool
object obj

IDictionaryEnumerator GetEnumerator()

GetEnumerator
Parameters
return IDictionaryEnumerator

int GetHashCode()

Parameters
return int

Type GetType()

Parameters
return Type

void Remove(object key)

Remove
Parameters
object key

string ToString()

Parameters
return string

Public static methods

ICollection ConcurrentEntries(IDictionary map)

Return the Dictionary Entries (as instances of DictionaryEntry in a collection that is safe from concurrent modification). Ie - we may safely add new instances to the underlying IDictionary during enumeration of the Values .
Parameters
return ICollection A Collection of DictionaryEntries
IDictionary map The IDictionary to get the enumeration safe list.

ICollection Entries(IDictionary map)

Parameters
return ICollection
IDictionary map

IDictionary Instantiate(int size)

Create a new instance of the IdentityMap that has no iteration order.
Parameters
return IDictionary A new IdentityMap based on a Hashtable.
int size

IDictionary InstantiateSequenced(int size)

Create a new instance of the IdentityMap that has an iteration order of the order the objects were added to the Map.
Parameters
return IDictionary A new IdentityMap based on ListDictionary.
int size

Public properties

int Count get;

Count
return int

IList EntryList get;

Provides a snapshot VIEW in the form of a List of the contents of the IdentityMap. You can safely iterate over this VIEW and modify the actual IdentityMap because the VIEW is a copy of the contents, not a reference to the existing Map. Contains a copy (not that actual instance stored) of the DictionaryEntries in a List.
return IList

bool IsFixedSize get;

IsFixedSize
return bool

bool IsReadOnly get;

IsReadOnly
return bool

bool IsSynchronized get;

IsSynchronized
return bool

object Item get; set;

Item
return object

ICollection Keys get;

Returns the Keys used in this IdentityMap IsReadOnly
return ICollection

object SyncRoot get;

SyncRoot
return object

ICollection Values get;

Values
return ICollection