mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 12:59:39 -07:00
Tidy
This commit is contained in:
parent
7a6ee7e98d
commit
6c4b5e44c9
2 changed files with 1 additions and 10 deletions
|
@ -166,7 +166,6 @@ namespace PlexRequests.UI
|
||||||
|
|
||||||
private void ConfigureContainer(IKernel container)
|
private void ConfigureContainer(IKernel container)
|
||||||
{
|
{
|
||||||
|
|
||||||
var loc = ServiceLocator.Instance;
|
var loc = ServiceLocator.Instance;
|
||||||
loc.SetContainer(container);
|
loc.SetContainer(container);
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,13 +26,7 @@
|
||||||
#endregion
|
#endregion
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
using MediatR;
|
|
||||||
|
|
||||||
using Nancy.TinyIoc;
|
|
||||||
|
|
||||||
using Ninject;
|
using Ninject;
|
||||||
using Ninject.Extensions.Conventions;
|
|
||||||
using Ninject.Modules;
|
|
||||||
using Ninject.Planning.Bindings.Resolvers;
|
using Ninject.Planning.Bindings.Resolvers;
|
||||||
|
|
||||||
using NLog;
|
using NLog;
|
||||||
|
@ -59,9 +53,7 @@ namespace PlexRequests.UI
|
||||||
|
|
||||||
kernel.Components.Add<IBindingResolver, ContravariantBindingResolver>();
|
kernel.Components.Add<IBindingResolver, ContravariantBindingResolver>();
|
||||||
|
|
||||||
|
app.UseNancy(options => options.Bootstrapper = new Bootstrapper(kernel));
|
||||||
|
|
||||||
app.UseNancy(options => options.Bootstrapper = new Bootstrapper(kernel));
|
|
||||||
var scheduler = new Scheduler();
|
var scheduler = new Scheduler();
|
||||||
scheduler.StartScheduler();
|
scheduler.StartScheduler();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue