-
Notifications
You must be signed in to change notification settings - Fork 129
Open
Description
class ServiceProxyGenerater
{
private MemberDeclarationSyntax GenerateMethodDeclaration(MethodInfo method)
{
// 设计上是否应该根据标记了 RpcServiceAttribute 的方法才生成代理方法呢?
// 建议提供 RpcIgnoreAttribute 跳过不需要生成代理的方法
...
}
}
PS:运行Rabbit.Rpc.ClientGenerator项目时找到一处bug?
Program.cs line: 150
.Where(i => i.GetTypeInfo().IsInterface && i.GetTypeInfo().GetCustomAttribute<RpcServiceAttribute>() != null);
应改为
.Where(i => i.GetTypeInfo().IsInterface && i.GetTypeInfo().GetCustomAttribute<RpcServiceBoundAttribute>() != null);
Metadata
Metadata
Assignees
Labels
No labels