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

AggregatableAttributeTargetClass.OnParentChanged Method


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

protected virtual void OnParentChanged()

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.