Open sandboxFocus

Class PrivateThreadAwareAttribute

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(typeof(PrivateThreadAwareAttribute.Serializer))]
public sealed class PrivateThreadAwareAttribute : ThreadAwareAttribute, ITypeLevelAspect, ITypeLevelAspectBuildSemantics, IAspectBuildSemantics, IValidableAnnotation, ICloneAwareAspect, IInstanceScopedAspect, IAspectProvider, IService, IAdviceProvider, IAspect, IThreadAware, IQueryInterface

Constructors

Name Description
PrivateThreadAwareAttribute()
PrivateThreadAwareAttribute(PortableFormatterConstructorContext)