Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Collections Namespace / Advisable­Dictionary(TKey, TValue) Class / Advisable­Dictionary(TKey, TValue) Constructor / Advisable­Dictionary(TKey, TValue) Constructor (IDictionary(TKey, TValue))

AdvisableDictionary<TKey, TValue> Constructor (IDictionary<TKey, TValue>)

Initializes a new instance of the AdvisableDictionary<TKey, TValue> class that contains elements copied from the specified IDictionary<TKey, TValue> and uses the default equality comparer for the key type.

Namespace:  PostSharp.Patterns.Collections
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 5.0.43.0 (5.0.43.0)
Syntax
C#
public AdvisableDictionary(
	IDictionary<TKey, TValue> dictionary
)

Parameters

dictionary
Type: System.Collections.Generic.IDictionary<TKey, TValue>
The IDictionary<TKey, TValue> whose elements are copied to the new AdvisableDictionary<TKey, TValue>.
See Also