PostSharp//API Reference/Post­Sharp.​Patterns.​Model/IAttachable
Open sandboxFocus

Interface IAttachable

Defines setter methods for the IAggregatable.

Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Aggregation.dll
Syntax
public interface IAttachable : IAggregatable

Methods

Name Description
AttachToParent(RelationshipInfo, IAttacher, Object)

Attaches the current object to a parent object.

DetachFromParent()

Detaches the current object from its parent object.

OnDeserialization(Object)

Restores the correct state when the object is being deserialized.

Extension Methods

AggregatableExtensions.IsDescendantOf(IAggregatable, Object)
AggregatableExtensions.GetChildren(IAggregatable, ChildVisitorOptions)
AggregatableExtensions.GetDistinctChildren(IAggregatable, ChildVisitorOptions)
AggregatableExtensions.VisitSelfAndDescendants(IAggregatable, DescendantVisitor, ChildVisitorOptions, Object)