fixed disk scan scheduler.

This commit is contained in:
kay.one 2013-05-12 19:52:55 -07:00
commit 687f8d9384
23 changed files with 140 additions and 142 deletions

View file

@ -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);
}
}
}