DispatchProxy 类
定义
提供实例化代理对象和处理其方法调度的机制。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
- 继承
-
DispatchProxy
构造函数
| DispatchProxy() |
方法
| Create<T,TProxy>() |
创建一个派生自类 |
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| Invoke(MethodInfo, Object[]) |
每当对生成的代理类型调用任何方法时,都会调用此方法来调度控件。Whenever any method on the generated proxy type is called, this method is invoked to dispatch control. |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |