Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfowl committed Jul 31, 2011
1 parent cfa17b8 commit 79e400c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Kudu.Services.Web/App_Start/NinjectServices.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
using Kudu.Core.SourceControl.Git;
using Kudu.Core.SourceControl.Hg;
using Kudu.Services.Authorization;
using Kudu.Services.Deployment;
using Microsoft.Web.Infrastructure.DynamicModuleHelper;
using Ninject;
using Ninject.Web.Mvc;
using Kudu.Services.Deployment;

[assembly: WebActivator.PreApplicationStartMethod(typeof(Kudu.Services.Web.App_Start.NinjectServices), "Start")]
[assembly: WebActivator.ApplicationShutdownMethodAttribute(typeof(Kudu.Services.Web.App_Start.NinjectServices), "Stop")]
Expand Down Expand Up @@ -55,7 +55,7 @@ private static IKernel CreateKernel() {
/// <param name="kernel">The kernel.</param>
private static void RegisterServices(IKernel kernel) {
kernel.Bind<IEnvironment>().ToMethod(_ => GetEnvironment()).InSingletonScope();
kernel.Bind<IDeploymentNotifier>().To<ConnectionNotifier>().InSingletonScope();
kernel.Bind<IDeploymentNotifier>().To<ConnectionNotifier>().InSingletonScope();
kernel.Bind<IRepositoryManager>().ToMethod(context => new RepositoryManager(context.Kernel.Get<IEnvironment>().RepositoryPath));
kernel.Bind<ISiteBuilderFactory>().To<SiteBuilderFactory>();
kernel.Bind<IDeploymentManager>().To<DeploymentManager>();
Expand Down

0 comments on commit 79e400c

Please sign in to comment.