summaryrefslogtreecommitdiff
path: root/src/Notepad/Start.cs
diff options
context:
space:
mode:
authormo <mo.khan@gmail.com>2018-11-04 15:22:16 -0700
committermo <mo.khan@gmail.com>2018-11-04 15:22:16 -0700
commit5ee1f55497a4e30322a56f133f897ecde1612967 (patch)
treebf544e0879234c3623869627d8786776cb19b8e9 /src/Notepad/Start.cs
initial commit.HEADmaster
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