mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-01 16:06:24 +02:00
fixed disk scan scheduler.
This commit is contained in:
@@ -10,6 +10,7 @@ namespace NzbDrone.Common
|
||||
T Build<T>() where T : class;
|
||||
IEnumerable<T> BuildAll<T>() where T : class;
|
||||
object Build(Type contract);
|
||||
IEnumerable<Type> GetImplementations(Type contract);
|
||||
}
|
||||
|
||||
public class ServiceFactory : IServiceFactory
|
||||
@@ -35,5 +36,10 @@ namespace NzbDrone.Common
|
||||
{
|
||||
return _container.Resolve(contract);
|
||||
}
|
||||
|
||||
public IEnumerable<Type> GetImplementations(Type contract)
|
||||
{
|
||||
return _container.GetImplementations(contract);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user