Commented out the unit tests as they need to be reworked now.

This commit is contained in:
tidusjar 2016-04-14 15:06:28 +01:00
commit 213a088f07
3 changed files with 8 additions and 9 deletions

View file

@ -34,15 +34,10 @@ namespace PlexRequests.UI.Helpers
{
Singleton = new ServiceLocator();
}
private static ServiceLocator Singleton { get; set; }
private TinyIoCContainer Container { get; set; }
private static ServiceLocator Singleton { get; }
private TinyIoCContainer Container => TinyIoCContainer.Current;
public static ServiceLocator Instance => Singleton;
public void SetContainer(TinyIoCContainer container)
{
Container = container;
}
public T Resolve<T>() where T : class
{
if (Container != null)