PostSharp6.4/API Reference/Post­Sharp.​Patterns.​Caching.​Locking Namespace/Null­Lock­Manager Class

NullLockManager Class

An implementation of ILockManager which does not acquire any lock.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Caching.Locking.NullLockManager

Namespace:  PostSharp.Patterns.Caching.Locking
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.4.3.0 (6.4.3.0)
Syntax
C#
public class NullLockManager : ILockManager

The NullLockManager type exposes the following members.

Constructors
  NameDescription
Public methodNullLockManager
Initializes a new instance of the NullLockManager class
Methods
  NameDescription
Public methodGetLock
Gets a handle to a named lock. This method must return immediately. Waiting, if any, must be done in the Acquire(TimeSpan, CancellationToken) method.
See Also