Class ReadOnlyThreadAwareAttribute
Base class for aspects FreezableAttribute and ImmutableAttribute.
Inheritance
Implements
Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading.dll
Syntax
[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() | Initializes the aspect instance. This method is invoked when all system elements of the aspect (like member imports) have completed. |