PostSharpAPI ReferencePost­Sharp.​Patterns.​ModelAggregatable­Attribute­Target­ClassOn­Parent­Changed
Open sandboxFocus

AggregatableAttributeTargetClass.OnParentChanged Method

OnParentChanged()

Method invoked when the Parent of the current object has been changed.

Declaration
protected virtual void OnParentChanged()
Remarks

This method is invoked after all parent members (field and automatic properties annotated with the ParentAttribute custom attributes) have been set.

If the current object implements the IAggregatable interface, this method must raise the ParentChanged event.