Sage Modeling and Simulation Library

IResourceRequest Methods

The IResourceRequest type exposes the following members.

Methods


  Name Description
Public method Acquire
Acquires a resource from the specified resource manager, or the provided default manager, if none is provided in this call. If the request has already successfully reserved a resource, then the reservation is revoked and the acquisition is honored in one atomic operation.
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 GetScore
Gets the score that describes the suitability of the resource to fulfill this resource request.
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 resource previously obtained by this ResourceRequest.
Public method Reserve
Reserves a resource from the specified resource manager, or the provided default manager, if none is provided in this call.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Public method Unreserve
Releases the resource previously obtained by this ResourceRequest.