PostSharp / / API Reference / Post­Sharp.​Patterns.​Threading / Immutable­Attribute

Class ImmutableAttribute

Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading.dll
Syntax
[IntroduceInterface]
[Metric("UsedFeatures", "PostSharp.Patterns.Threading.Immutable")]
[Serializer]
public sealed class ImmutableAttribute : ReadOnlyThreadAwareAttribute, ITypeLevelAspect, ITypeLevelAspectBuildSemantics, IAspectBuildSemantics, IValidableAnnotation, ICloneAwareAspect, IInstanceScopedAspect, IAspectProvider, IService, IAdviceProvider, IAspect, IQueryInterface, IConcurrencyController, IImmutable, IThreadAware

Constructors

Name Description
ImmutableAttribute()
ImmutableAttribute(PortableFormatterConstructorContext)

Methods

Name Description
OnInstanceConstructed()