RelationshipInfo Structure |
Describes the relationship between a parent and a child.
Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Aggregation (in PostSharp.Patterns.Aggregation.dll) Version: 6.8.6.0 (6.8.6.0)

C#
public struct RelationshipInfo : IEquatable<RelationshipInfo>
The RelationshipInfo type exposes the following members.

Name | Description | |
---|---|---|
![]() | RelationshipInfo |
Initializes a new instance of the RelationshipInfo type.
|

Name | Description | |
---|---|---|
![]() | ItemsRelationship |
Gets the kind of relationship of items of the child collection relatively to the child collection.
|
![]() | PropagateBehaviors |
Specifies whether behaviors of the parent should be propagated to objects assigned to the field.
|
![]() | PropagateBehaviorsToItems |
Specifies whether behaviors of the parent should be propagated to objects added to collections assigned to this field.
This property is ignored if PropagateBehaviors is false.
|
![]() | Relationship |
Gets the kind of relationship of the child relatively to the parent. Valid values are Child, ParentSurrogate
or ChildOrParentSurrogate.
|

Name | Description | |
---|---|---|
![]() | Equals(Object) | Indicates whether this instance and a specified object are equal. (Overrides ValueType.Equals(Object).) |
![]() | Equals(RelationshipInfo) | |
![]() | GetHashCode | Returns the hash code for this instance. (Overrides ValueType.GetHashCode().) |

Name | Description | |
---|---|---|
![]() ![]() | Equality |
Determines whether two instances of the RelationshipInfo type are equal.
|
![]() ![]() | Inequality |
Determines whether two instances of the RelationshipInfo type are equal.
|
