Browse Source

remove incorrect comments

pull/247/head
cKey 5 years ago
parent
commit
760683b80c
  1. 5
      aspnet-core/modules/dapr/LINGYUN.Abp.Dapr.Client/README.md

5
aspnet-core/modules/dapr/LINGYUN.Abp.Dapr.Client/README.md

@ -65,7 +65,6 @@ public class SystemAppService : ApplicationService, ISystemAppService
```c# ```c#
// 模块会自动搜索实现了IActor的服务,注册为Dapr的Actors
[DependsOn( [DependsOn(
typeof(SystemInterfaceModule), typeof(SystemInterfaceModule),
typeof(AbpAspNetCoreMvcModule))] typeof(AbpAspNetCoreMvcModule))]
@ -75,7 +74,7 @@ public class SystemServerModule : AbpModule
{ {
PreConfigure<IMvcBuilder>(mvcBuilder => PreConfigure<IMvcBuilder>(mvcBuilder =>
{ {
mvcBuilder.AddApplicationPartIfNotExists(typeof(SystemInterfaceModule).Assembly); mvcBuilder.AddApplicationPartIfNotExists(typeof(SystemServerModule).Assembly);
}); });
} }
} }
@ -130,7 +129,7 @@ public class SystemActorClientModule : AbpModule
{ {
// 注册代理类似于 Volo.Abp.Http.Client 模块 // 注册代理类似于 Volo.Abp.Http.Client 模块
context.Services.AddDaprClientProxies( context.Services.AddDaprClientProxies(
typeof(SystemInterfaceModule).Assembly, // 搜索 SystemActorInterfaceModule 模块下的IActor定义 typeof(SystemInterfaceModule).Assembly, // 搜索 SystemInterfaceModule 模块下的IRemoteService定义创建代理
RemoteServiceName RemoteServiceName
); );
} }

Loading…
Cancel
Save