diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-02-10 00:54:58 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-02-10 00:54:58 -0500 |
| commit | 0052f0a09dfacb062c5b372f0eb4734a5c653e4d (patch) | |
| tree | 0c09ccb4f017285ae9ab2c8a87ec59346d394824 /MediaBrowser.Controller/IServerApplicationHost.cs | |
| parent | 3d7089a7dbabb652730c892206ca050f52f832b1 (diff) | |
create single method to form api url
Diffstat (limited to 'MediaBrowser.Controller/IServerApplicationHost.cs')
| -rw-r--r-- | MediaBrowser.Controller/IServerApplicationHost.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/IServerApplicationHost.cs b/MediaBrowser.Controller/IServerApplicationHost.cs index 105e4e2f0..d202e221e 100644 --- a/MediaBrowser.Controller/IServerApplicationHost.cs +++ b/MediaBrowser.Controller/IServerApplicationHost.cs @@ -1,7 +1,6 @@ using MediaBrowser.Common; using MediaBrowser.Model.System; using System; -using System.Collections.Generic; namespace MediaBrowser.Controller { @@ -65,5 +64,12 @@ namespace MediaBrowser.Controller /// </summary> /// <value>The local API URL.</value> string LocalApiUrl { get; } + + /// <summary> + /// Gets the local API URL. + /// </summary> + /// <param name="host">The host.</param> + /// <returns>System.String.</returns> + string GetLocalApiUrl(string host); } } |
