Sage Modeling and Simulation Library

IResourceManager Members

The IResourceManager type exposes the following members.

Methods


  Name Description
Public method Acquire
Tries to acquire a resource that satisfies the specified resource request.
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 resource attached (by previous acqusition) to the specified resource request.
Public method Reserve
Tries to reserve a resource that satisfies the specified resource request.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Public method Unreserve
Unreserves the resource attached to the specified resource request.

Properties


  Name Description
Public property AccessRegulator
Gets or sets the access regulator, which is an object that can allow or deny individual ResourceRequests access to specified resources.
Public property Resources
Gets the resources owned by this Resource Manager.
Public property SupportsPrioritizedRequests
Gets a value indicating whether this resource manager supports prioritized requests.

Events


  Name Description
Public event ResourceAcquired
Fired when a resource is acquired and thereby removed from the pool.
Public event ResourceAdded
Fired when a resource is added to the pool.
Public event ResourceReleased
Fired when a resource is released back into the pool.
Public event ResourceRemoved
Fired when a resource is removed from the pool.
Public event ResourceRequested
Fired when a resource request is received.