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 (in PostSharp.dll) Version: 4.3.31.0 (4.3.31.0)
Syntax
C#
public interface ICloneAwareAspect : IInstanceScopedAspect, 
	IAspect

The ICloneAwareAspect type exposes the following members.

Methods
  NameDescription
Public methodCreateInstance
Creates a new instance of the aspect based on the current instance, serving as a prototype.
(Inherited from IInstanceScopedAspect.)
Public methodOnCloned
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.
Public methodRuntimeInitializeInstance
Initializes the aspect instance. This method is invoked when all system elements of the aspect (like member imports) have completed.
(Inherited from IInstanceScopedAspect.)
Top
See Also