Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 

17 rader
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. }