PostSharp//API Reference/Post­Sharp.​Patterns.​Caching.​Locking/ILock­Manager
Open sandboxFocus

Interface ILockManager

Provides instances of named locks.

Namespace: PostSharp.Patterns.Caching.Locking
Assembly: PostSharp.Patterns.Caching.dll
Syntax
public interface ILockManager

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.