Adapter that implements the features otherwise added by AggregatableAttribute to external or third-party types.
Assembly: PostSharp.Patterns.Aggregation (in PostSharp.Patterns.Aggregation.dll) Version: 126.96.36.199 (188.8.131.52)
public class TypeAdapter
Thetype exposes the following members.
Initializes a newfor no specific type.
Initializes a new AdaptedType.for a specific
Determines which kind of relationships the adapted type can enter with respect to the parent object.
Determines whether any instance of this type or of any derived class is immutable.
Determines whether any instance of this type or of any derived class can be safely shared by several threads.
Determines whether the adapted type is immutable.
Determines whether instances of this type can be safely shared by several threads.
Gets a list of all types referenced from the adapted type.
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.
Attaches an object to a parent object.
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.
Detaches an object from its parent object.
Visit children or collection items.
Type adapters must be registered using the RegisterTypeAdapterAttribute custom attribute.