Added some tests and fixed the issue where the DB would get created in the wrong place depending on how you launched the application

This commit is contained in:
tidusjar 2016-03-29 14:13:13 +01:00
parent 1f9ed51320
commit e2aa4016a8
8 changed files with 221 additions and 35 deletions

View file

@ -12,12 +12,12 @@ namespace PlexRequests.UI.Jobs
//typeof(AvailabilityUpdateService);
var container = TinyIoCContainer.Current;
var a= container.ResolveAll(typeof(T));
var a= container.Resolve(typeof(T));
object outT;
container.TryResolve(typeof(T), out outT);
return (T)outT;
return (T)a;
}
}
}