Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 220.127.116.11 (18.104.22.168)
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.