Sage Modeling and Simulation Library

SimpleAccessManager..::..PushAccessRegulator Method

Pushes an access regulator onto the stack that is associated with a particular resource, or the default stack, if no resource is specified.

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

Syntax


public void PushAccessRegulator(
	IAccessRegulator accReg,
	IResource subject
)

Parameters

accReg
Type: Highpoint.Sage.Resources..::..IAccessRegulator
Access Regulator to be pushed.
subject
Type: Highpoint.Sage.Resources..::..IResource
The resource to which this regulator is to apply, or null, if it applies to all of them.