PostSharp / / API Reference / Post­Sharp.​Patterns.​Model / Aggregatable­Attribute

Class AggregatableAttribute

Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Aggregation.dll
Syntax
[IntroduceInterface]
[MulticastAttributeUsage]
[AspectTypeDependency]
[AspectRoleDependency]
[AspectRoleDependency]
[HasConstraint]
[Serializer]
public sealed class AggregatableAttribute : InstanceLevelAspect, ITypeLevelAspect, ITypeLevelAspectBuildSemantics, IAspectBuildSemantics, IValidableAnnotation, ICloneAwareAspect, IInstanceScopedAspect, IAttachable, IAggregatable, IAdviceProvider, IAspectProvider, IAspect, IService

Constructors

Name Description
AggregatableAttribute()
AggregatableAttribute(PortableFormatterConstructorContext)

Fields

Name Description
__GetCanonicalAggregatableAttributeMethod
ChildrenBindings
OnAncestorChangedMethod
OnChildAttachedMethod
OnChildDetachedMethod
OnDeserializationBaseMethod
OnDeserializationMethod
OnParentChangedBaseMethod
OnParentChangedMethod
ParentBindings
VisitChildrenBaseMethod
VisitChildrenVirtualMethod

Properties

Name Description
ChildrenFields
DefaultItemRelationship
DefaultMemberRelationship
IsParentSurrogate
IsParentSurrogateSpecified

Methods

Name Description
__GetCanonicalAggregatableAttribute()
CompileTimeValidate(Type)
OnAncestorChanged(AncestorChangedEventArgs)
OnAspectsInitialized(AspectInitializationReason)
OnChildAttached(Object, ChildInfo)
OnChildDetached(Object, ChildInfo)
OnDeserialization(Object)
OnDeserialized(StreamingContext)
OnInstanceConstructed()
OnParentChanged()
OnSetValue<T>(ILocationBinding<T>, T, DeclarationIdentifier)
RuntimeInitialize(Type)
RuntimeInitializeInstance(AspectInitializationReason)
VisitChildren(ChildVisitor, ChildVisitorOptions, Object)
VisitChildrenCore(ChildVisitor, ChildVisitorOptions, Object)

Explicit Interface Implementations

Name Description
IAdviceProvider.ProvideAdvices(Object)
IAspectProvider.ProvideAspects(Object)
IAggregatable.AncestorChanged
IAggregatable.Parent
IAggregatable.ParentChanged
IAggregatable.ParentRelationship
IAggregatable.VisitChildren(ChildVisitor, ChildVisitorOptions, Object)
IAttachable.AttachToParent(RelationshipInfo, IAttacher, Object)
IAttachable.DetachFromParent()
IAttachable.OnDeserialization(Object)