Open sandboxFocus

Interface ICloneAwareAspect

Defines the semantics of aspects that require to be notified after a target object is cloned using MemberwiseClone().

Namespace: PostSharp.Aspects
Assembly: PostSharp.dll
Syntax
public interface ICloneAwareAspect : IInstanceScopedAspect, IAspect

Methods

Name Description
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.