PostSharpAPI ReferencePost­Sharp.​Patterns.​ThreadingRead­Only­Thread­Aware­AttributeIConcurrency­Controller.​Check­Access
Open sandboxFocus

ReadOnlyThreadAwareAttribute.IConcurrencyController.CheckAccess Method

IConcurrencyController.CheckAccess(ObjectAccessLevel)

Determines whether the current thread has a specified level of access to the entity.

Declaration
bool IConcurrencyController.CheckAccess(ObjectAccessLevel objectAccessLevel)
Parameters
Type Name Description
ObjectAccessLevel objectAccessLevel

The required access level on the entity.

Returns
Type Description
Boolean

true if the current thread has the required level of access, otherwise false.

Implements
IConcurrencyController.CheckAccess(ObjectAccessLevel)