Interface IThreadAware
Interface implemented by objects that are aware of concurrency. Access to thread-aware objects is controlled by a concurrency controller (IConcurrencyController).
Any aspect implementing a threading model (ThreadAwareObjectAttribute
) introduces this interface to the target class and ensures that accesses to this class go through
the controller.
Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Common.dll
Syntax
[InternalImplement(AttributeId = 627500528741416983L)]
[HasConstraint]
public interface IThreadAware
Properties
Name | Description |
---|---|
ConcurrencyController | Gets the concurrency controller for the current object. |
Methods
Name | Description |
---|---|
OnParentControllerChanged(IConcurrencyController) | Notifies the object that the effective controller of it's parent has changed. |