Table of Contents

Class MemberClonerListener

Namespace
AsmResolver.DotNet.Cloning
Assembly
AsmResolver.DotNet.dll

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

public abstract class MemberClonerListener : IMemberClonerListener
Inheritance
MemberClonerListener
Implements
Derived
Inherited Members

Methods

OnClonedEvent(EventDefinition, EventDefinition)

This function is called for every event that got cloned.

public virtual void OnClonedEvent(EventDefinition original, EventDefinition cloned)

Parameters

original EventDefinition

The original event.

cloned EventDefinition

The cloned event.

OnClonedField(FieldDefinition, FieldDefinition)

This function is called for every field that got cloned.

public virtual void OnClonedField(FieldDefinition original, FieldDefinition cloned)

Parameters

original FieldDefinition

The original field.

cloned FieldDefinition

The cloned field.

OnClonedMember(IMemberDefinition, IMemberDefinition)

This function is called for every member that got cloned.

public virtual void OnClonedMember(IMemberDefinition original, IMemberDefinition cloned)

Parameters

original IMemberDefinition

The original member.

cloned IMemberDefinition

The cloned member.

OnClonedMethod(MethodDefinition, MethodDefinition)

This function is called for every method that got cloned.

public virtual void OnClonedMethod(MethodDefinition original, MethodDefinition cloned)

Parameters

original MethodDefinition

The original method.

cloned MethodDefinition

The cloned method.

OnClonedProperty(PropertyDefinition, PropertyDefinition)

This function is called for every property that got cloned.

public virtual void OnClonedProperty(PropertyDefinition original, PropertyDefinition cloned)

Parameters

original PropertyDefinition

The original property.

cloned PropertyDefinition

The cloned property.

OnClonedType(TypeDefinition, TypeDefinition)

This function is called for every type that got cloned.

public virtual void OnClonedType(TypeDefinition original, TypeDefinition cloned)

Parameters

original TypeDefinition

The original type.

cloned TypeDefinition

The cloned type.