您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

17 行
475 B

  1. using Microsoft.Extensions.DependencyInjection;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace JT808.DotNetty.Client
  6. {
  7. public static class JT808ClientDotnettyExtensions
  8. {
  9. public static IServiceCollection AddJT808Client(this IServiceCollection serviceDescriptors)
  10. {
  11. serviceDescriptors.AddSingleton<IJT808TcpClientFactory, JT808TcpClientFactory>();
  12. return serviceDescriptors;
  13. }
  14. }
  15. }