update libs

This commit is contained in:
Luke Pulverenti
2015-09-11 22:18:09 -04:00
parent cd5615c6ce
commit dd17096b5d
15 changed files with 28 additions and 30 deletions

View File

@@ -581,7 +581,7 @@ namespace MediaBrowser.Common.Implementations
protected void RegisterSingleInstance<T>(T obj, bool manageLifetime = true)
where T : class
{
Container.RegisterSingle(obj);
Container.RegisterSingleton(obj);
if (manageLifetime)
{
@@ -607,7 +607,7 @@ namespace MediaBrowser.Common.Implementations
protected void RegisterSingleInstance<T>(Func<T> func)
where T : class
{
Container.RegisterSingle(func);
Container.RegisterSingleton(func);
}
void IDependencyContainer.Register(Type typeInterface, Type typeImplementation)