Reduce warnings in Emby.Dlna
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user