SerializationCacheReadT Class

Cache for object references in reading serialized data. Assumes, that the same order for read and write calls. Does not work in concurrent read/write operations.

Definition

Namespace: Karamba.Utilities
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
public class SerializationCacheRead<T>
where T : class
Inheritance
Object    SerializationCacheReadT

Type Parameters

T
The type of the items in the cache.

Constructors

SerializationCacheReadT Initializes a new instance of the SerializationCacheReadT class

Methods

Add Add an item to the cache.
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
ToString Returns a string that represents the current object.
(Inherited from Object)
TryGet Tries to get an item to the Cache.

Extension Methods

ContainerType test if object is (a container like) a list or an array.
(Defined by MiniUtil)

See Also