An implementation of ILockManager which does not acquire any lock.
Implements
Namespace: PostSharp.Patterns.Caching.Locking
Assembly: PostSharp.Patterns.Caching.dll
Syntax
public class NullLockManager : ILockManager
Constructors
Name | Description |
---|---|
NullLockManager() |
Methods
Name | Description |
---|---|
GetLock(string) | Gets a handle to a named lock. This method must return immediately. Waiting, if any, must be done in the Acquire(TimeSpan, CancellationToken) method. |