FileBackedDictionaryTKey, TValue, TKeyElem, TValueElem(IDictionaryTKey, TValue, IEqualityComparerTKey) Constructor

Creates a new instance of the FileBackedDictionaryTKey, TValue class.

Definition

Namespace: Gemstone.IO.Collections
Assembly: Gemstone.IO (in Gemstone.IO.dll) Version: 1.0.147 -- Release Build+f1f9c0e9f92f995ccf39530a9405eeed9dafd871
public FileBackedDictionary(
	IDictionary<TKey, TValue> dictionary,
	IEqualityComparer<TKey> keyComparer
)

Parameters

dictionary  IDictionaryTKey, TValue
The dictionary whose elements are copied to this dictionary.
keyComparer  IEqualityComparerTKey
The equality comparer used to compare keys in the dictionary.

Exceptions

ArgumentNullExceptiondictionary is null.
InvalidOperationExceptionEither TKey or TValue cannot be serialized.

See Also