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: (
public RelationshipKind DefaultMemberRelationship { get; set; }

Property Value

Type: RelationshipKind

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