PostSharpAPI ReferencePost­Sharp.​Patterns.​ThreadingPrivate­Thread­Aware­Attribute
Open sandboxFocus

PrivateThreadAwareAttribute Class

Custom attribute that, when applied to a class, implement the PrivateThreadingModel into this class, in which the threading model of an object is determined by the parent it is assigned to in a parent-child relationship.

Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading.dll
Syntax
[Metric("UsedFeatures", "PostSharp.Patterns.Threading.PrivateThreadAware")]
[Serializer]
public sealed class PrivateThreadAwareAttribute : ThreadAwareAttribute, ITypeLevelAspect, ITypeLevelAspectBuildSemantics, IAspectBuildSemantics, IValidableAnnotation, ICloneAwareAspect, IInstanceScopedAspect, IAspectProvider, IService, IAdviceProvider, IAspect, IThreadAware, IQueryInterface

Constructors

Name Description
PrivateThreadAwareAttribute()
PrivateThreadAwareAttribute(PortableFormatterConstructorContext)