eDriven Framework API
TypedPriorityStack<(Of <(<'T>)>)> Class
NamespaceseDriven.Core.UtilTypedPriorityStack<(Of <(<'T>)>)>
eDriven Framework API
This class is used for inserting and removing TYPED items from the priority stack This kind of stack is used for purposes like cursor management In cursor management, the cursor with the greatest priority has to be shown Also, there is the need to remove any of the cursors from the queue, whenever it is needed When the cursor is being added to queue, the ID is being returned This ID is then being used for object retreival
Declaration Syntax
C#Visual BasicVisual C++
public sealed class TypedPriorityStack<T>
where T : class
Public NotInheritable Class TypedPriorityStack(Of T As Class)
generic<typename T>
where T : ref class
public ref class TypedPriorityStack sealed
Generic Template Parameters
T
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
TypedPriorityStack<(Of <(<'T>)>)>()()()()
Initializes a new instance of the TypedPriorityStack<(Of <(<'T>)>)> class

Clear()()()()
Clears the stack

Current
Gets the top-most item currently in the stack

Equals(Object)
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 a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
Insert(T, Int32)
Inserts the object into the priority queue Returns the ID of the same object in the queue

IsEmpty()()()()
Returns true if the stack is empty

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Remove(Int32)
Removes an item specified by ID

ToString()()()() (Overrides Object.ToString()()()().)
Inheritance Hierarchy
Object
TypedPriorityStack<(Of <(<'T>)>)>

Assembly: eDriven.Core (Module: eDriven.Core) Version: 2.0.1.0 (2.0.1.0)