This is the online documentation for PostSharp 5.0.
Download PDF or CHM. Go to v4.3 or v5.0

AggregatableAttribute.DefaultMemberRelationship Property

Gets or sets the default kind of relationship of fields and automatic properties.

Namespace:  PostSharp.Patterns.Model
Assembly:  PostSharp.Patterns.Aggregation (in PostSharp.Patterns.Aggregation.dll) Version: 5.0.31.0 (5.0.31.0)
Syntax
C#
public RelationshipKind DefaultMemberRelationship { get; set; }

Property Value

Type: RelationshipKind
Remarks

The default value of this property is Default, which causes a build-time error to be emitted if members are not annotated with ChildAttribute, ReferenceAttribute or ParentAttribute.

See Also