ThreadSafeDictionaryTKey, TValue(SerializationInfo, StreamingContext) Constructor

Initializes a new instance of the ThreadSafeDictionaryTKey, TValue class from serialized data.

Definition

Namespace: KGySoft.Collections
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
C#
protected ThreadSafeDictionary(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info  SerializationInfo
The SerializationInfo that stores the data.
context  StreamingContext
The destination (see StreamingContext) for this deserialization.

Remarks

  Notes to Inheritors

If an inherited type serializes data, which may affect the hashes of the keys, then override the OnDeserialization method and use that to restore the data of the derived instance.

See Also