PostSharpAPI ReferencePost­Sharp.​AspectsIClone­Aware­Aspect
Open sandboxFocus

ICloneAwareAspect Interface

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

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


Name Description

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.