diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2020-08-25 16:59:35 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-25 16:59:35 -0400 |
| commit | cf6ef9958da4a50bd315d37792567ae51773a6a7 (patch) | |
| tree | 28423f47c93d5246009bc3dd952d90162fa64e0c /MediaBrowser.Controller/IServerApplicationHost.cs | |
| parent | 25be1a9b20a09979146c382b0a5c2325bf3ba21f (diff) | |
| parent | b5bbbb9cefb7b360e12b44522d6494bfb4c0f848 (diff) | |
Merge pull request #3910 from barronpm/event-rewrite-1
Event Rewrite (Part 1)
Diffstat (limited to 'MediaBrowser.Controller/IServerApplicationHost.cs')
| -rw-r--r-- | MediaBrowser.Controller/IServerApplicationHost.cs | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/MediaBrowser.Controller/IServerApplicationHost.cs b/MediaBrowser.Controller/IServerApplicationHost.cs index 2db631157..39b896c0f 100644 --- a/MediaBrowser.Controller/IServerApplicationHost.cs +++ b/MediaBrowser.Controller/IServerApplicationHost.cs @@ -18,13 +18,7 @@ namespace MediaBrowser.Controller { event EventHandler HasUpdateAvailableChanged; - /// <summary> - /// Gets the system info. - /// </summary> - /// <returns>SystemInfo.</returns> - Task<SystemInfo> GetSystemInfo(CancellationToken cancellationToken); - - Task<PublicSystemInfo> GetPublicSystemInfo(CancellationToken cancellationToken); + IServiceProvider ServiceProvider { get; } bool CanLaunchWebBrowser { get; } @@ -58,6 +52,14 @@ namespace MediaBrowser.Controller string FriendlyName { get; } /// <summary> + /// Gets the system info. + /// </summary> + /// <returns>SystemInfo.</returns> + Task<SystemInfo> GetSystemInfo(CancellationToken cancellationToken); + + Task<PublicSystemInfo> GetPublicSystemInfo(CancellationToken cancellationToken); + + /// <summary> /// 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. /// </summary> |
