Skip to content

Commit 11ac734

Browse files
committed
refactor: 更新服务注入方法
1 parent d4f6621 commit 11ac734

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BootstrapBlazor.Server/Extensions/ServiceCollectionSharedExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public static IServiceCollection AddBootstrapBlazorServices(this IServiceCollect
9595
services.AddBootstrapBlazorJuHeIpLocatorService();
9696

9797
// 增加 ITcpSocketFactory 服务
98-
services.AddBootstrapBlazorTcpSocketFactory();
98+
services.AddTcpSocketFactory();
9999

100100
// 增加 PetaPoco ORM 数据服务操作类
101101
// 需要时打开下面代码

0 commit comments

Comments
 (0)