Syntax

C#
public class CacheableStack
Visual Basic (Declaration)
Public Class CacheableStack
Visual C++
public ref class CacheableStack

The type exposes the following members.

Public Constructors

  NameDescription
Public methodCacheableStackCacheableStackNewOverloaded.

Public Methods

  NameDescription
Public methodClear
Removes all objects from the Stack<(Of <T>)>.
(Inherited from Stack<(Of <IGFSerializable>)>.)
Public methodContains
Determines whether an element is in the Stack<(Of <T>)>.
(Inherited from Stack<(Of <IGFSerializable>)>.)
Public methodCopyTo
Copies the Stack<(Of <T>)> to an existing one-dimensional Array, starting at the specified array index.
(Inherited from Stack<(Of <IGFSerializable>)>.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodFromData
Deserialize this object, typical implementation should return the 'this' pointer.
Public methodGetEnumerator
Returns an enumerator for the Stack<(Of <T>)>.
(Inherited from Stack<(Of <IGFSerializable>)>.)
Public methodGetHashCode
Serves as a hash function for a particular type. GetHashCode()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodPeek
Returns the object at the top of the Stack<(Of <T>)> without removing it.
(Inherited from Stack<(Of <IGFSerializable>)>.)
Public methodPop
Removes and returns the object at the top of the Stack<(Of <T>)>.
(Inherited from Stack<(Of <IGFSerializable>)>.)
Public methodPush
Inserts an object at the top of the Stack<(Of <T>)>.
(Inherited from Stack<(Of <IGFSerializable>)>.)
Public methodToArray
Copies the Stack<(Of <T>)> to a new array.
(Inherited from Stack<(Of <IGFSerializable>)>.)
Public methodToData
Serializes this object.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodTrimExcess
Sets the capacity to the actual number of elements in the Stack<(Of <T>)>, if that number is less than 90 percent of current capacity.
(Inherited from Stack<(Of <IGFSerializable>)>.)

Protected Methods

  NameDescription
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)

Public Properties

  NameDescription
Public propertyClassId
Returns the classId of the instance being serialized. This is used by deserialization to determine what instance type to create and deserialize into.
Public propertyCount
Gets the number of elements contained in the Stack<(Of <T>)>.
(Inherited from Stack<(Of <IGFSerializable>)>.)
Public propertyObjectSize
return the size of this object in bytes

Explicit Interface Implementations

See Also