RpcStoreGetProxyCodes(String, Type) 方法
本地获取代理
命名空间: TouchSocket.Rpc程序集: TouchSocket.Rpc (在 TouchSocket.Rpc.dll 中) 版本:4.1.4.7+7f7e1f78093c99347956e09330d5d7aca1d2bdf2
public string GetProxyCodes(
string namespace,
params Type[] attributeTypes
)
Public Function GetProxyCodes (
namespace As String,
ParamArray attributeTypes As Type()
) As String
member GetProxyCodes :
namespace : string *
attributeTypes : Type[] -> string
- namespace String
- 生成代理代码的目标命名空间
- attributeTypes Type
- Rpc特性类型数组,用于指定要生成代理的Rpc方法特性
String生成的代理代码字符串