eDriven Framework API
PriorityStack Class
NamespaceseDriven.Core.UtilPriorityStack
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 PriorityStack
Public NotInheritable Class PriorityStack
public ref class PriorityStack sealed
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
PriorityStack()()()()
Initializes a new instance of the PriorityStack 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(Object, 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
PriorityStack

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