static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); var kernel = new StandardKernel(); CompositionRoot.Init(kernel); //kernel.Load(Assembly.GetExecutingAssembly()); CompositionRoot.Wire(new CompositeModule()); //var kernel = new StandardKernel(new MyInjectModule()); //Application.Run(CompositionRoot.Resolve<MNA>()); //Application.Run(CompositionRoot.Resolve<MNA>()); //Application.Run(CompositionRoot.Resolve<MNA>()); var presenter = CompositionRoot.Resolve <IMnaPresenter>(); presenter.Initialize(); Application.Run((Form)presenter.Ui); }
private void RegisterScreen(IMutableDependencyResolver splatLocator, CompositionRoot compositionRoot) { }
private void RegisterCommandBinders(IMutableDependencyResolver splatLocator, CompositionRoot compositionRoot) { }
protected abstract void RegisterPlatformComponents(IMutableDependencyResolver splatLocator, CompositionRoot compositionRoot);