RelationshipInfo Structure
Describes the relationship between a parent and a child.

Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 4.3.30.0 (4.3.30.0)
Syntax
C#
public struct RelationshipInfo : IEquatable<RelationshipInfo>

The RelationshipInfo type exposes the following members.

Constructors
  NameDescription
Public methodRelationshipInfo
Initializes a new instance of the RelationshipInfo type.
Top
Properties
  NameDescription
Public propertyItemsRelationship
Gets the kind of relationship of items of the child collection relatively to the child collection.
Public propertyPropagateBehaviors
Specifies whether behaviors of the parent should be propagated to objects assigned to the field.
Public propertyPropagateBehaviorsToItems
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.
Public propertyRelationship
Gets the kind of relationship of the child relatively to the parent. Valid values are Child, ParentSurrogate or ChildOrParentSurrogate.
Top
Methods
  NameDescription
Public methodEquals(Object)
Indicates whether this instance and a specified object are equal.
(Overrides ValueType.Equals(Object).)
Public methodEquals(RelationshipInfo)
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueType.GetHashCode().)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Determines whether two instances of the RelationshipInfo type are equal.
Public operatorStatic memberInequality
Determines whether two instances of the RelationshipInfo type are equal.
Top
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
Top
See Also