Class DisposableAttribute
Custom attribute that, when applied to a class, implements the IDisposable in such a way that
the Dispose() method executes the Dispose() method for all
children objects that also implement the IDisposable interface.
Inheritance
DisposableAttribute
Assembly: PostSharp.Patterns.Model.dll
Syntax
[IntroduceInterface]
[MulticastAttributeUsage]
[HasConstraint]
[Serializer]
public sealed class DisposableAttribute : AggregatableClientAttribute, ITypeLevelAspect, ITypeLevelAspectBuildSemantics, IAspectBuildSemantics, IValidableAnnotation, ICloneAwareAspect, IInstanceScopedAspect, IAspectProvider, IService, IAdviceProvider, IAspect
Constructors
Fields
Properties
Methods