diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-10-08 21:54:56 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-10-08 21:54:56 -0400 |
| commit | 5897b2555fdf5826879c0f3b8660667c5079e2bd (patch) | |
| tree | 864b51a316a280048628727a4ac1084c1d2ff4f3 /MediaBrowser.Model/ApiClient/IApiClient.cs | |
| parent | 8101fc52a6b4c4681668f2579c877feb8afc79e9 (diff) | |
updated nuget
Diffstat (limited to 'MediaBrowser.Model/ApiClient/IApiClient.cs')
| -rw-r--r-- | MediaBrowser.Model/ApiClient/IApiClient.cs | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/MediaBrowser.Model/ApiClient/IApiClient.cs b/MediaBrowser.Model/ApiClient/IApiClient.cs index bb395cd6a..df95ad6dc 100644 --- a/MediaBrowser.Model/ApiClient/IApiClient.cs +++ b/MediaBrowser.Model/ApiClient/IApiClient.cs @@ -74,7 +74,7 @@ namespace MediaBrowser.Model.ApiClient /// <param name="cancellationToken">The cancellation token.</param> /// <returns>Task{List{ItemIndex}}.</returns> Task<List<ItemIndex>> GetYearIndex(string userId, string[] includeItemTypes, CancellationToken cancellationToken); - + /// <summary> /// Gets the critic reviews. /// </summary> @@ -680,13 +680,20 @@ namespace MediaBrowser.Model.ApiClient /// Gets or sets the server host name (myserver or 192.168.x.x) /// </summary> /// <value>The name of the server host.</value> - string ServerHostName { get; set; } + string ServerHostName { get; } /// <summary> /// Gets or sets the port number used by the API /// </summary> /// <value>The server API port.</value> - int ServerApiPort { get; set; } + int ServerApiPort { get; } + + /// <summary> + /// Changes the server location. + /// </summary> + /// <param name="hostName">Name of the host.</param> + /// <param name="apiPort">The API port.</param> + void ChangeServerLocation(string hostName, int apiPort); /// <summary> /// Gets or sets the type of the client. |
