PostSharp6.6//API Reference/Post­Sharp.​Patterns.​Model.​Type­Adapters Namespace/Type­Adapter Class/Type­Adapter Methods

TypeAdapter Methods

The TypeAdapter type exposes the following members.

Methods
  NameDescription
Protected methodAttachChild
Attaches an item to a parent. This method is typically invoked by implementations of AttachToParent(Object, RelationshipInfo, IAttacher, Object) to attach items or children to the parent.
Public methodAttachToParent
Attaches an object to a parent object.
Protected methodDetachChild
Detaches an item from its parent. This method is typically invoked by implementations of DetachFromParent(Object, Object, RelationshipInfo) to detach items or children from the parent.
Public methodDetachFromParent
Detaches an object from its parent object.
Public methodVisitChildren
Visit children or collection items.
See Also