Source

TrafficLight / src / UI / Modules / UIModule.cs

using Ninject.Modules;
using RossCode.TrafficLight.Core.Presenters.Views;

namespace RossCode.TrafficLight.UI.Modules
{
    public class UIModule : NinjectModule
    {
        public override void Load()
        {
            Bind<IProjectsView>().To<ProjectsView>();
            Bind<IBuildStatusView>().To<BuildStatusView>();
            Bind<IEditProjectView>().To<EditProjectView>();
            
            Bind<TrafficLightApplicationContext>().ToSelf().InSingletonScope();
        }
    }
}