IConcurrencyController.CheckAccess Method |
Determines whether the current thread has a specified level of access to the entity.
Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
bool CheckAccess( ObjectAccessLevel objectAccessLevel )
Parameters
- objectAccessLevel
- Type: PostSharp.Patterns.Model.ObjectAccessLevel
The required access level on the entity.
Return Value
Type: Booleantrue if the current thread has the required level of access, otherwise false.