Post­Sharp Documentation / 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: 5.0.39.0 (5.0.39.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