Initializes a new instance of the UnmodifiableDictionary class that contains elements wrapped from the specified IDictionary.

Namespace: NHibernate.Util
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public UnmodifiableDictionary(
	IDictionary<TKey, TValue> dictionary
)
Visual Basic
Public Sub New ( _
	dictionary As IDictionary(Of TKey, TValue) _
)
Visual C++
public:
UnmodifiableDictionary(
	IDictionary<TKey, TValue>^ dictionary
)

Parameters

dictionary
Type: System.Collections.Generic..::..IDictionary<(Of <(<'TKey, TValue>)>)>
The IDictionary<(Of <(<'TKey, TValue>)>)> whose elements are wrapped.

See Also