Program.cs 667 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using MediaBrowser.Controller;
  3. namespace MediaBrowser.Program
  4. {
  5. class Program
  6. {
  7. static void Main(string[] args)
  8. {
  9. LoadKernel();
  10. }
  11. private static void LoadKernel()
  12. {
  13. DateTime now = DateTime.Now;
  14. Console.WriteLine("Loading");
  15. Kernel kernel = new Kernel();
  16. kernel.Init();
  17. var time = DateTime.Now - now;
  18. Console.WriteLine("Done in " + time.TotalSeconds + " seconds");
  19. Console.WriteLine("Press Enter to quit.");
  20. Console.ReadLine();
  21. }
  22. }
  23. }