1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-21 22:05:43 -04:00

Changed the way the Database is registered with TinyIoC to make Logdb and future cachedb more accessible.

This commit is contained in:
Taloth Saldono
2015-05-03 21:46:21 +02:00
parent 4ca8178ca8
commit 2a83088045
47 changed files with 181 additions and 72 deletions
+2 -2
View File
@@ -15,14 +15,14 @@ namespace NzbDrone.Api.System
private readonly IRuntimeInfo _runtimeInfo;
private readonly IRouteCacheProvider _routeCacheProvider;
private readonly IConfigFileProvider _configFileProvider;
private readonly IDatabase _database;
private readonly IMainDatabase _database;
private readonly ILifecycleService _lifecycleService;
public SystemModule(IAppFolderInfo appFolderInfo,
IRuntimeInfo runtimeInfo,
IRouteCacheProvider routeCacheProvider,
IConfigFileProvider configFileProvider,
IDatabase database,
IMainDatabase database,
ILifecycleService lifecycleService)
: base("system")
{