Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ public static IServiceCollection AddBootstrapBlazor(this IServiceCollection serv

services.AddTabItemBindOptions();
services.AddIconTheme();
services.AddSocketDataConverters();
return services;
}

Expand Down Expand Up @@ -212,29 +211,6 @@ static IServiceCollection AddTabItemBindOptions(this IServiceCollection services
return services;
}

/// <summary>
/// 增加 Socket 数据转换器集合配置项服务
/// </summary>
/// <param name="services"></param>
/// <returns></returns>
static IServiceCollection AddSocketDataConverters(this IServiceCollection services)
{
services.AddOptionsMonitor<SocketDataConverterCollections>();
return services;
}

/// <summary>
/// 配置第三方数据模型与 <see cref="SocketDataConverterCollections"/> 数据转换器集合配置扩展方法
/// </summary>
/// <param name="services"></param>
/// <param name="configureOptions"></param>
/// <returns></returns>
public static IServiceCollection ConfigureSocketDataConverters(this IServiceCollection services, Action<SocketDataConverterCollections> configureOptions)
{
services.Configure(configureOptions);
return services;
}

/// <summary>
/// 配置第三方菜单路由与 Tab 标签页捆绑字典扩展方法
/// </summary>
Expand Down
191 changes: 0 additions & 191 deletions src/BootstrapBlazor/Extensions/ITcpSocketClientExtensions.cs

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading