ChildInfo Class
Describes a location (typically a field or collection item) on which a child can be attached to a parent.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Model.ChildInfo

Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 4.3.31.0 (4.3.31.0)
Syntax
C#
public sealed class ChildInfo

The ChildInfo type exposes the following members.

Constructors
  NameDescription
Public methodChildInfo(FieldInfo, RelationshipInfo)
Initializes a new instance of the ChildInfo that represents a field.
Public methodChildInfo(String, Type, RelationshipInfo)
Initializes a new instance of the ChildInfo that represents a collection item or a custom location.
Top
Properties
  NameDescription
Public propertyDeclarationIdentifier
Gets the DeclarationIdentifier of the field where the child is stored, or Null if the current ChildInfo does not represent a field.
Public propertyLocationName
Gets the name of the location to which the child is assigned.
Public propertyLocationType
Gets the type of the location to which the child is assigned.
Public propertyRelationshipInfo
Describes the kind of relationship between the child and its parent.
Top
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
Top
See Also