PostSharp6.8//API Reference/Post­Sharp.​Patterns.​Model Namespace/Aggregatable­Attribute Class/Aggregatable­Attribute Properties/Aggregatable­Attribute.​Default­Member­Relationship Property

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