PostSharp6.1/API Reference/Post­Sharp.​Patterns.​Model Namespace/Child­Info Class

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.Aggregation (in PostSharp.Patterns.Aggregation.dll) Version: 6.1.23.0 (6.1.23.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.
Properties
  NameDescription
Public propertyBuildTimeVerificationDisabled
Determines whether aspects relying on AggregatableAttribute should verify the field at build time. This property is only relevant at build time.
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.
See Also