PostSharpAPI ReferencePost­Sharp.​Patterns.​ThreadingFreezable­AttributeOn­Cloned
Open sandboxFocus

Method OnCloned

OnCloned(ICloneAwareAspect)

Method called after the an object enhanced by the current aspect has been cloned using MemberwiseClone(). The this parameter refers to the new aspect instance in the cloned object.

Declaration
public override void OnCloned(ICloneAwareAspect source)
Parameters
Type Name Description
ICloneAwareAspect source

Aspect instance corresponding to the current aspect instance in the cloned target object.

Overrides
InstanceLevelAspect.OnCloned(ICloneAwareAspect)