Sage Modeling and Simulation Library

SelfManagingResource Methods

The SelfManagingResource type exposes the following members.

Methods


  Name Description
Public method Acquire
Attempts to acquire this resource using the provided IResourceRequest.
Public method Equals
We override the Equals operator so that a self-managing resource can declare equivalency to its underlying resource.
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
Returns a hash code for this instance.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method InitializeIdentity
Initialize the identity of this model object, once.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Release
Releases the resource through the provided resource request.
Public method Reserve
Attempts to reserve this resource using the provided IResourceRequest.
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 resource through the provided resource request.