Open sandboxFocus

Class ReadOnlyThreadAwareAttribute

Base class for aspects FreezableAttribute and ImmutableAttribute.

Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading.dll
Syntax
[Serializer(typeof(ReadOnlyThreadAwareAttribute.Serializer))]
public abstract class ReadOnlyThreadAwareAttribute : ThreadAwareAttribute, ITypeLevelAspect, ITypeLevelAspectBuildSemantics, IAspectBuildSemantics, IValidableAnnotation, ICloneAwareAspect, IInstanceScopedAspect, IAspectProvider, IService, IAdviceProvider, IAspect, IThreadAware, IQueryInterface, IConcurrencyController

Constructors

Name Description
ReadOnlyThreadAwareAttribute()
ReadOnlyThreadAwareAttribute(PortableFormatterConstructorContext)

Methods

Name Description
Advise(object)

Injects the advice into the child object.

RuntimeInitializeInstance()