PostSharpAPI ReferencePost­Sharp.​Patterns.​Caching.​LockingNull­Lock­Manager
Open sandboxFocus

NullLockManager Class

An implementation of ILockManager which does not acquire any lock.

Inheritance
NullLockManager
Implements
ILockManager
Namespace: PostSharp.Patterns.Caching.Locking
Assembly: PostSharp.Patterns.Caching.dll
Syntax
public class NullLockManager : Object, 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.