PostSharp 4.3 / / Post­Sharp Documentation / 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.Common (in PostSharp.Patterns.Common.dll) Version: 4.3.48.0 (4.3.48.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