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

Namespace:  PostSharp.Patterns.Model
Assembly:  PostSharp.Patterns.Aggregation (in PostSharp.Patterns.Aggregation.dll) Version: 5.0.39.0 (5.0.39.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