aboutsummaryrefslogtreecommitdiff
path: root/Emby.Dlna/ConnectionManager/ConnectionManagerService.cs
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2020-11-19 13:03:37 -0500
committerGitHub <noreply@github.com>2020-11-19 13:03:37 -0500
commit75d4a573a3f3e05319c0fa8d5ea44942ae70533f (patch)
treee79fc5c2021c11686f34f2efb745f73882bd16a3 /Emby.Dlna/ConnectionManager/ConnectionManagerService.cs
parentd8a3448a97c1cd77117cfb27c167297937701f0a (diff)
parentef737a4e8e113c71446bb6a67265f9a7d91cc858 (diff)
Merge pull request #4137 from BaronGreenback/Comment2
DLNA ConnectionManager - static and commented.
Diffstat (limited to 'Emby.Dlna/ConnectionManager/ConnectionManagerService.cs')
-rw-r--r--Emby.Dlna/ConnectionManager/ConnectionManagerService.cs12
1 files changed, 11 insertions, 1 deletions
diff --git a/Emby.Dlna/ConnectionManager/ConnectionManagerService.cs b/Emby.Dlna/ConnectionManager/ConnectionManagerService.cs
index f5a7eca72..916044a0c 100644
--- a/Emby.Dlna/ConnectionManager/ConnectionManagerService.cs
+++ b/Emby.Dlna/ConnectionManager/ConnectionManagerService.cs
@@ -9,11 +9,21 @@ using Microsoft.Extensions.Logging;
namespace Emby.Dlna.ConnectionManager
{
+ /// <summary>
+ /// Defines the <see cref="ConnectionManagerService" />.
+ /// </summary>
public class ConnectionManagerService : BaseService, IConnectionManager
{
private readonly IDlnaManager _dlna;
private readonly IServerConfigurationManager _config;
+ /// <summary>
+ /// Initializes a new instance of the <see cref="ConnectionManagerService"/> class.
+ /// </summary>
+ /// <param name="dlna">The <see cref="IDlnaManager"/> for use with the <see cref="ConnectionManagerService"/> instance.</param>
+ /// <param name="config">The <see cref="IServerConfigurationManager"/> for use with the <see cref="ConnectionManagerService"/> instance.</param>
+ /// <param name="logger">The <see cref="ILogger{ConnectionManagerService}"/> for use with the <see cref="ConnectionManagerService"/> instance..</param>
+ /// <param name="httpClientFactory">The <see cref="IHttpClientFactory"/> for use with the <see cref="ConnectionManagerService"/> instance..</param>
public ConnectionManagerService(
IDlnaManager dlna,
IServerConfigurationManager config,
@@ -28,7 +38,7 @@ namespace Emby.Dlna.ConnectionManager
/// <inheritdoc />
public string GetServiceXml()
{
- return new ConnectionManagerXmlBuilder().GetXml();
+ return ConnectionManagerXmlBuilder.GetXml();
}
/// <inheritdoc />