SnapTypeBase Class

Represents the base class for Snap types, providing methods for serialization, comparison, and manipulation.

Definition

Namespace: SnapDB.Snap
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public abstract class SnapTypeBase
Inheritance
Object    SnapTypeBase
Derived

Constructors

SnapTypeBase Ensures that only SnapTypeBaseT inherits from this class.

Properties

GenericTypeGuid The GUID uniquely defining this type. It is important to uniquely tie 1 type to 1 GUID.
Size Gets the size of this class when serialized.

Methods

Clear Clears the key.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
MethodCopy Executes a copy command without modifying the current class.
Read(BinaryStreamBase) Reads the provided key from the stream.
Read(Byte*) Reads the key from the stream.
Read(Stream) Reads the provided key from the stream.
SetMax Sets the provided key to its maximum value.
SetMin Sets the provided key to its minimum value.
ToStringReturns a string that represents the current object.
(Inherited from Object)
Write(BinaryStreamBase) Writes the provided data to the BinaryWriter.
Write(Byte*) Writes the key to the stream.
Write(Stream) Writes the provided key to the stream.

See Also