Sage Modeling and Simulation Library

IResource Methods

The IResource type exposes the following members.

Methods


  Name Description
Public method Acquire
Acquires the specified request. Removes it from availability and from the resource pool.
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Release
Releases the specified request. Returns it to availability and the resource pool.
Public method Reserve
Reserves the specified request. Removes it from availability, but not from the pool. This is typically an intermediate state held during resource negotiation.
Public method Reset
Resets this instance, returning it to its initial capacity and availability.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Public method Unreserve
Unreserves the specified request. Returns it to availability.