PostSharpAPI ReferencePost­Sharp.​Patterns.​ThreadingUpgradeable­Reader­Attribute
Open sandboxFocus

UpgradeableReaderAttribute Class

Custom attribute that, when applied on a method, specifies that the method requires read and write access to the object, but other threads are allowed to acquire read (but not write) access to the object until a method with the WriterAttribute custom attribute is executed.

Inheritance
UpgradeableReaderAttribute
Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading.dll
Syntax
[MulticastAttributeUsage]
public class UpgradeableReaderAttribute : AccessLevelAttribute, IValidableAnnotation

Constructors

Name Description
UpgradeableReaderAttribute() PostSharp.Patterns.Threading.UpgradeableReaderAttribute