public abstract class RpcDispatchProxy<TClient, TAttribute> : DispatchProxy
where TClient : IRpcClient
where TAttribute : RpcAttribute
Public MustInherit Class RpcDispatchProxy(Of TClient As IRpcClient, TAttribute As RpcAttribute)
Inherits DispatchProxy[<AbstractClassAttribute>]
type RpcDispatchProxy<'TClient, 'TAttribute when 'TClient : IRpcClient when 'TAttribute : RpcAttribute> =
class
inherit DispatchProxy
end[缺少 "T:TouchSocket.Rpc.RpcDispatchProxy`2" 的 <typeparam name="TClient"/> 文档]
[缺少 "T:TouchSocket.Rpc.RpcDispatchProxy`2" 的 <typeparam name="TAttribute"/> 文档]
| RpcDispatchProxyTClient, TAttribute | RpcDispatchProxy |
| Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) |
| GetClient | 获取调用Rpc的客户端。 |
| GetHashCode | Serves as the default hash function. (继承自 Object。) |
| GetType | Gets the Type of the current instance. (继承自 Object。) |
| Invoke | Whenever any method on the generated proxy type is called, this method is invoked to dispatch control. (重写 DispatchProxyInvoke(MethodInfo, Object)) |
| MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) |
| OnAfter | 方法调用后 |
| OnBefore | 方法调用前 |
| ToString | Returns a string that represents the current object. (继承自 Object。) |
| Map |
将源对象的属性映射到目标对象的属性中。
(由 Mapper 定义。) |
| Map |
将源对象映射到目标类型的实例。
(由 Mapper 定义。) |
| MapTTarget |
将源对象映射到指定目标类型的新实例。
(由 Mapper 定义。) |
| ToJsonString |
转换为Json
(由 SerializeConvert 定义。) |