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