ThreadSafeHashSetT(SerializationInfo, StreamingContext) Constructor

Initializes a new instance of the ThreadSafeHashSetT class from serialized data.

Definition

Namespace: KGySoft.Collections
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0
C#
protected ThreadSafeHashSet(
	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