DESHelper.cs 359 B

123456789101112131415
  1. using Microsoft.Extensions.DependencyInjection;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace Bowin.Common.Encoder.DES
  6. {
  7. public static class DESHelper
  8. {
  9. public static void UseBowinDes(this IServiceCollection service)
  10. {
  11. service.AddSingleton<IDesAccessor, DesAccessor>();
  12. }
  13. }
  14. }