summaryrefslogtreecommitdiff
path: root/src/Notepad/Start.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Notepad/Start.cs')
-rw-r--r--src/Notepad/Start.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Notepad/Start.cs b/src/Notepad/Start.cs
new file mode 100644
index 0000000..1cb4d42
--- /dev/null
+++ b/src/Notepad/Start.cs
@@ -0,0 +1,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>();
+ }
+ }
+} \ No newline at end of file