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