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 System.Object.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 System.Object.MemberwiseClone(). The this parameter refers to the new aspect instance in the cloned object.