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.
Inheritance
PrivateThreadAwareAttribute
Implements
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) |