aboutsummaryrefslogtreecommitdiff
path: root/Emby.Dlna/Service/BaseService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Dlna/Service/BaseService.cs')
-rw-r--r--Emby.Dlna/Service/BaseService.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/Emby.Dlna/Service/BaseService.cs b/Emby.Dlna/Service/BaseService.cs
index 8794ec26a..88c62f86c 100644
--- a/Emby.Dlna/Service/BaseService.cs
+++ b/Emby.Dlna/Service/BaseService.cs
@@ -8,31 +8,31 @@ namespace Emby.Dlna.Service
{
public class BaseService : IEventManager
{
- protected IEventManager EventManager;
- protected IHttpClient HttpClient;
+ protected IEventManager _eventManager;
+ protected IHttpClient _httpClient;
protected ILogger Logger;
protected BaseService(ILogger<BaseService> logger, IHttpClient httpClient)
{
Logger = logger;
- HttpClient = httpClient;
+ _httpClient = httpClient;
- EventManager = new EventManager(logger, HttpClient);
+ _eventManager = new EventManager(logger, _httpClient);
}
public EventSubscriptionResponse CancelEventSubscription(string subscriptionId)
{
- return EventManager.CancelEventSubscription(subscriptionId);
+ return _eventManager.CancelEventSubscription(subscriptionId);
}
public EventSubscriptionResponse RenewEventSubscription(string subscriptionId, string notificationType, string timeoutString, string callbackUrl)
{
- return EventManager.RenewEventSubscription(subscriptionId, notificationType, timeoutString, callbackUrl);
+ return _eventManager.RenewEventSubscription(subscriptionId, notificationType, timeoutString, callbackUrl);
}
public EventSubscriptionResponse CreateEventSubscription(string notificationType, string timeoutString, string callbackUrl)
{
- return EventManager.CreateEventSubscription(notificationType, timeoutString, callbackUrl);
+ return _eventManager.CreateEventSubscription(notificationType, timeoutString, callbackUrl);
}
}
}