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: 2023.0.3.0 (2023.0.3.0)
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.