mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Commented out the unit tests as they need to be reworked now.
This commit is contained in:
parent
6190eceb60
commit
213a088f07
3 changed files with 8 additions and 9 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue