IServerApplicationHost.cs 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. using MediaBrowser.Common;
  2. using MediaBrowser.Model.System;
  3. namespace MediaBrowser.Controller
  4. {
  5. /// <summary>
  6. /// Interface IServerApplicationHost
  7. /// </summary>
  8. public interface IServerApplicationHost : IApplicationHost
  9. {
  10. /// <summary>
  11. /// Gets the system info.
  12. /// </summary>
  13. /// <returns>SystemInfo.</returns>
  14. SystemInfo GetSystemInfo();
  15. /// <summary>
  16. /// Gets the name of the web application.
  17. /// </summary>
  18. /// <value>The name of the web application.</value>
  19. string WebApplicationName { get; }
  20. /// <summary>
  21. /// Gets the HTTP server URL prefix.
  22. /// </summary>
  23. /// <value>The HTTP server URL prefix.</value>
  24. string HttpServerUrlPrefix { get; }
  25. /// <summary>
  26. /// Gets a value indicating whether this instance is background service.
  27. /// </summary>
  28. /// <value><c>true</c> if this instance is background service; otherwise, <c>false</c>.</value>
  29. bool IsBackgroundService { get; }
  30. }
  31. }