SpeedTestManager.cs 675 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using fis.media.Library.NetworkSpeedTest;
  7. namespace fis.media.Managers
  8. {
  9. internal class SpeedTestManager
  10. {
  11. private static SpeedTestManager? _instance;
  12. private SpeedTestManager() { }
  13. public static SpeedTestManager Instance()
  14. {
  15. if (_instance == null)
  16. {
  17. _instance = new SpeedTestManager();
  18. }
  19. return _instance;
  20. }
  21. public ILiveTester CreateLiveTester(ILiveTestInfo testInfo)
  22. {
  23. throw new Exception();
  24. }
  25. }
  26. }