PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Model Namespace / Member­Relationship­Attribute Class
MemberRelationshipAttribute Class
Base class for custom attributes that determine the kind of relationship of objects in a graph.
Inheritance Hierarchy
System.Object
  System.Attribute
    PostSharp.Patterns.Model.MemberRelationshipAttribute
      PostSharp.Patterns.Model.ChildAttribute
      PostSharp.Patterns.Model.ParentAttribute
      PostSharp.Patterns.Model.ReferenceAttribute

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 abstract class MemberRelationshipAttribute : Attribute, 
	IValidableAnnotation

The MemberRelationshipAttribute type exposes the following members.

Methods
  NameDescription
Public methodCompileTimeValidate
Method invoked at build time to ensure that the aspect has been applied to the right target.
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also