Defines setter methods for the IAggregatable.
Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Aggregation.dll
Syntax
public interface IAttachable : IAggregatableRemarks
This interface is consumed by the AggregatableAttribute aspect. It should normally not be consumed in user code.
User classes may implement this interface in a class if a custom implementation of IAggregatable is required.
A child object may be attached several times to the same parent through several relationships.
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. |