Sage Modeling and Simulation Library

SimpleAccessManager..::..PopAccessRegulator Method

Pops the top access regulator from the stack associated with the specified resource, or from the default stack if subject is set as null.

Namespace:  Highpoint.Sage.Resources
Assembly:  Sage4 (in Sage4.dll)


public IAccessRegulator PopAccessRegulator(
	IResource subject


Type: Highpoint.Sage.Resources..::..IResource
The resource to be regulated, or null if all are to be regulated.

Return Value

The AccessRegulator being popped, or null, if the stack was empty.