一款简单易用的基础网络通讯组件库。

RpcStore 类

Rpc仓库

Definition

命名空间: TouchSocket.Rpc
程序集: TouchSocket.Rpc (在 TouchSocket.Rpc.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
public sealed class RpcStore
Inheritance
Object    RpcStore

构造函数

RpcStore 实例化一个Rpc仓库。

属性

ServerTypes 服务类型

方法

EqualsDetermines whether the specified object is equal to the current object.
(继承自 Object。)
GetAllMethods 获取所有已注册的函数。
GetHashCodeServes as the default hash function.
(继承自 Object。)
GetProxyCodes(String, Type) 本地获取代理
GetProxyCodesTAttribute(String) 获取生成的代理
GetProxyInfo 从本地获取代理
GetServerRpcMethods 获取服务类型对应的服务方法。
GetTypeGets the Type of the current instance.
(继承自 Object。)
RegisterServer(Type, Type) 注册服务
RegisterServer(Type, IRpcServer) 注册为单例服务
ToStringReturns a string that represents the current object.
(继承自 Object。)

扩展方法

Map
(由 Mapper 定义。)
Map
(由 Mapper 定义。)
MapTTarget
(由 Mapper 定义。)
RegisterAllServer 注册AppDomain已加载程序集的所有Rpc服务
(由 RpcStoreExtension 定义。)
RegisterAllServer 注册指定程序集的Rpc服务。
(由 RpcStoreExtension 定义。)
RegisterServer 注册服务
(由 RpcStoreExtension 定义。)
RegisterServerT 注册服务
(由 RpcStoreExtension 定义。)
RegisterServerTFrom 注册为单例服务
(由 RpcStoreExtension 定义。)
RegisterServerTFrom, TTo 注册服务
(由 RpcStoreExtension 定义。)
ToJsonString 转换为Json
(由 SerializeConvert 定义。)

参见