NullLockManager Class |
An implementation of ILockManager which does not acquire any lock.

Namespace: PostSharp.Patterns.Caching.Locking
Assembly: PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.1.23.0 (6.1.23.0)

C#
public class NullLockManager : ILockManager
The NullLockManager type exposes the following members.

Name | Description | |
---|---|---|
![]() | NullLockManager | Initializes a new instance of the NullLockManager class |

Name | Description | |
---|---|---|
![]() | GetLock |
Gets a handle to a named lock. This method must return immediately. Waiting, if any, must be done in the Acquire(TimeSpan, CancellationToken) method.
|
