PostSharpAPI ReferencePost­Sharp.​Patterns.​ThreadingYielder­Attribute
Open sandboxFocus

YielderAttribute Class

Custom attribute that, when applied on a method, specifies that the method that currently holds write access to the object (see WriterAttribute) allows other threads to read the object during the execution of the target method. This custom attribute is typically used on methods that raise events that must be processed synchronously by other threads.

Inheritance
YielderAttribute
Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading.dll
Syntax
public class YielderAttribute : AccessLevelAttribute, IValidableAnnotation

Constructors

Name Description
YielderAttribute()

See Also