PostSharp6.1/API Reference/Post­Sharp.​Patterns.​Model Namespace/Child­Info Class/Child­Info Constructor/Child­Info Constructor (String, Type, Relationship­Info)

ChildInfo Constructor (String, Type, RelationshipInfo)

Initializes a new instance of the ChildInfo that represents a collection item or a custom location.

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 ChildInfo(
	string locationName,
	Type locationType,
	RelationshipInfo relationshipInfo
)

Parameters

locationName
Type: System.String
Name of the location, for instance Item for a collection item.
locationType
Type: System.Type
Type of the location.
relationshipInfo
Type: PostSharp.Patterns.Model.RelationshipInfo
A RelationshipInfo instance that describes the kind of relationship of the child object to its direct parent.
See Also