aboutsummaryrefslogtreecommitdiff
path: root/Emby.Dlna/Service/BaseService.cs
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2020-08-13 15:47:31 -0400
committerPatrick Barron <barronpm@gmail.com>2020-08-13 15:47:31 -0400
commitda9bcc5fb3a9544e2f9bf9fa3ccbd03837d060ed (patch)
treed1367b8c0bdd1be9c47ada52af3e1052e8663096 /Emby.Dlna/Service/BaseService.cs
parent27c8cf043107263282d210eaef8d0d32ac2fbf23 (diff)
Rename IEventManager to IDlnaEventManager
Diffstat (limited to 'Emby.Dlna/Service/BaseService.cs')
-rw-r--r--Emby.Dlna/Service/BaseService.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/Emby.Dlna/Service/BaseService.cs b/Emby.Dlna/Service/BaseService.cs
index 8794ec26a..2950eede2 100644
--- a/Emby.Dlna/Service/BaseService.cs
+++ b/Emby.Dlna/Service/BaseService.cs
@@ -6,9 +6,9 @@ using Microsoft.Extensions.Logging;
namespace Emby.Dlna.Service
{
- public class BaseService : IEventManager
+ public class BaseService : IDlnaEventManager
{
- protected IEventManager EventManager;
+ protected IDlnaEventManager _dlnaEventManager;
protected IHttpClient HttpClient;
protected ILogger Logger;
@@ -17,22 +17,22 @@ namespace Emby.Dlna.Service
Logger = logger;
HttpClient = httpClient;
- EventManager = new EventManager(logger, HttpClient);
+ _dlnaEventManager = new DlnaEventManager(logger, HttpClient);
}
public EventSubscriptionResponse CancelEventSubscription(string subscriptionId)
{
- return EventManager.CancelEventSubscription(subscriptionId);
+ return _dlnaEventManager.CancelEventSubscription(subscriptionId);
}
public EventSubscriptionResponse RenewEventSubscription(string subscriptionId, string notificationType, string timeoutString, string callbackUrl)
{
- return EventManager.RenewEventSubscription(subscriptionId, notificationType, timeoutString, callbackUrl);
+ return _dlnaEventManager.RenewEventSubscription(subscriptionId, notificationType, timeoutString, callbackUrl);
}
public EventSubscriptionResponse CreateEventSubscription(string notificationType, string timeoutString, string callbackUrl)
{
- return EventManager.CreateEventSubscription(notificationType, timeoutString, callbackUrl);
+ return _dlnaEventManager.CreateEventSubscription(notificationType, timeoutString, callbackUrl);
}
}
}