summaryrefslogtreecommitdiff
path: root/src/Notepad/Start.cs
blob: 1cb4d42cd6a8e7bacb8e6145b2c908a540b9b1d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using Notepad.Infrastructure.Container;
using Notepad.Infrastructure.Container.Windsor;
using Notepad.Presentation.Context;
using Notepad.Presentation.Views.Menu.Help;
using Notepad.Presentation.Views.Shell;

namespace Notepad {
    public class Start {
        public static void TheApplication() {
            var resolver = new WindsorDependencyRegistry();
            Resolve.InitializeWith(resolver);

            resolver.Register<WindowShell, WindowShell>();
            resolver.Register<NotepadApplicationContext, NotepadApplicationContext>();
            resolver.Register<IAboutApplicationView, AboutApplicationView>();
        }
    }
}