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

ChildInfo Constructor (FieldInfo, RelationshipInfo)

Initializes a new instance of the ChildInfo that represents a field.

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(
	FieldInfo field,
	RelationshipInfo relationshipInfo
)

Parameters

field
Type: System.Reflection.FieldInfo
A field.
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