diff options
| author | crobibero <cody@robibe.ro> | 2020-08-19 07:09:07 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-08-19 07:09:07 -0600 |
| commit | f6b8cd4b46d03a1baa86d4ee31d1a66e2ad05097 (patch) | |
| tree | fac437d9a33cfb76a2aeac11229f10e3cbefd95d /MediaBrowser.Common/Net/UserAgentDelegatingHandler.cs | |
| parent | ac5c0866f3745784c78e376c2eefb111b929d8e5 (diff) | |
Fix build
Diffstat (limited to 'MediaBrowser.Common/Net/UserAgentDelegatingHandler.cs')
| -rw-r--r-- | MediaBrowser.Common/Net/UserAgentDelegatingHandler.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/MediaBrowser.Common/Net/UserAgentDelegatingHandler.cs b/MediaBrowser.Common/Net/UserAgentDelegatingHandler.cs index c016af87c..31af85f7d 100644 --- a/MediaBrowser.Common/Net/UserAgentDelegatingHandler.cs +++ b/MediaBrowser.Common/Net/UserAgentDelegatingHandler.cs @@ -14,10 +14,13 @@ namespace MediaBrowser.Common.Net { private readonly ProductInfoHeaderValue[] _userAgentValues; - /// <inheritdoc /> + /// <summary> + /// Initializes a new instance of the <see cref="UserAgentDelegatingHandler"/> class. + /// </summary> + /// <param name="applicationHost">Instance of the <see cref="IApplicationHost"/> interface.</param> public UserAgentDelegatingHandler(IApplicationHost applicationHost) { - _userAgentValues = new [] + _userAgentValues = new[] { new ProductInfoHeaderValue(applicationHost.Name.Replace(' ', '-'), applicationHost.ApplicationVersionString), new ProductInfoHeaderValue($"({Environment.OSVersion}; {applicationHost.ApplicationUserAgentAddress})") |
