Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 22.214.171.124 (126.96.36.199)
public interface IConcurrencyController
Thetype exposes the following members.
Determines whether the entity is currently read-only.
Determines whether the entity can currently be accessed concurrently by several threads.
Gets the ThreadingModel implemented by the current controller.
Acquires access on the entity for the current thread and waits synchronously if access cannot be immediately acquired.
Asynchronously acquires access on the entity for the current thread and returns an async awaiter.
Determines whether the current thread has a specified level of access to the entity.
Determines whether the current thread has a specified level of access to the entity and throws an exception if not.
An entity, for the sake of this documentation article, is a group of objects that share the same concurrency controller.
Objects that are controlled by a concurrency controller implement the IThreadAware interface.