Edit

Share via


DispatchProxy Class

Definition

Provides a mechanism for instantiating proxy objects and handling their method dispatch.

public ref class DispatchProxy abstract
public abstract class DispatchProxy
type DispatchProxy = class
Public MustInherit Class DispatchProxy
Inheritance
DispatchProxy

Constructors

DispatchProxy()

Methods

Create(Type, Type)

Creates an object instance that derives from class proxyType and implements interface interfaceType.

Create<T,TProxy>()

Creates an object instance that derives from class TProxy and implements interface T.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
Invoke(MethodInfo, Object[])

Whenever any method on the generated proxy type is called, this method is invoked to dispatch control.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to