Add ServiceProvider to IServerApplicationHost

pull/3910/head
Patrick Barron 4 years ago
parent da9bcc5fb3
commit e0c6172d23

@ -16,13 +16,7 @@ namespace MediaBrowser.Controller
{ {
event EventHandler HasUpdateAvailableChanged; event EventHandler HasUpdateAvailableChanged;
/// <summary> IServiceProvider ServiceProvider { get; }
/// Gets the system info.
/// </summary>
/// <returns>SystemInfo.</returns>
Task<SystemInfo> GetSystemInfo(CancellationToken cancellationToken);
Task<PublicSystemInfo> GetPublicSystemInfo(CancellationToken cancellationToken);
bool CanLaunchWebBrowser { get; } bool CanLaunchWebBrowser { get; }
@ -55,6 +49,14 @@ namespace MediaBrowser.Controller
/// <value>The name of the friendly.</value> /// <value>The name of the friendly.</value>
string FriendlyName { get; } string FriendlyName { get; }
/// <summary>
/// Gets the system info.
/// </summary>
/// <returns>SystemInfo.</returns>
Task<SystemInfo> GetSystemInfo(CancellationToken cancellationToken);
Task<PublicSystemInfo> GetPublicSystemInfo(CancellationToken cancellationToken);
/// <summary> /// <summary>
/// Gets all the local IP addresses of this API instance. Each address is validated by sending a 'ping' request /// Gets all the local IP addresses of this API instance. Each address is validated by sending a 'ping' request
/// to the API that should exist at the address. /// to the API that should exist at the address.

Loading…
Cancel
Save