Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 22.214.171.124 (126.96.36.199)
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.
Gets the implementation of a specified interface for the specified object.(Defined by QueryInterfaceExtensions.)
Type adapters must be registered using the RegisterTypeAdapterAttribute custom attribute.