public ConnectionManager(ITimer timer, ILocalServerDiscovery localServerDiscovery, IRestConnection restConnection, IMyPlexConnection myPlexConnection, ITvdbCache tvdbCache, ITmdbCache tmdbCache, INowPlaying nowPlaying) { _timer = timer; _restConnection = restConnection; _myPlexConnection = myPlexConnection; _tvdbCache = tvdbCache; _tmdbCache = tmdbCache; _localServerDiscovery = localServerDiscovery; _localServerDiscovery.ServerDiscovered += LocalServerDiscoveryOnServerDiscovered; ServerConnections = new ReadOnlyObservableCollection<ServerConnection>(_allServerConnections); NowPlaying = nowPlaying; }
public ConnectionManager(ITimer timer, ILocalServerDiscovery localServerDiscovery, IRestConnection restConnection, IMyPlexConnection myPlexConnection, ITvdbCache tvdbCache, ITmdbCache tmdbCache, INowPlaying nowPlaying) { _timer = timer; _restConnection = restConnection; _myPlexConnection = myPlexConnection; _tvdbCache = tvdbCache; _tmdbCache = tmdbCache; _localServerDiscovery = localServerDiscovery; _localServerDiscovery.ServerDiscovered += LocalServerDiscoveryOnServerDiscovered; ServerConnections = new ReadOnlyObservableCollection <ServerConnection>(_allServerConnections); NowPlaying = nowPlaying; }