PostSharpAPI ReferencePost­Sharp.​Patterns.​CachingCaching­ProfileLock­Manager
Open sandboxFocus

CachingProfile.LockManager Property

LockManager

Gets or sets the lock manager used to synchronize the execution of methods that are cached with the current profile. The default lock manager is NullLockManager, which allows for concurrent execution of all methods. An alternative implementation is LocalLockManager, which prevents concurrent execution of the same method with the same parameters, in the current process (or AppDomain).

Declaration
public ILockManager LockManager { get; set; }
Property Value
Type Description
ILockManager