summaryrefslogtreecommitdiff
path: root/src/MVPtoMVVM.mvvm/Bootstrap.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/MVPtoMVVM.mvvm/Bootstrap.cs')
-rw-r--r--src/MVPtoMVVM.mvvm/Bootstrap.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/MVPtoMVVM.mvvm/Bootstrap.cs b/src/MVPtoMVVM.mvvm/Bootstrap.cs
new file mode 100644
index 0000000..755b741
--- /dev/null
+++ b/src/MVPtoMVVM.mvvm/Bootstrap.cs
@@ -0,0 +1,20 @@
+using MVPtoMVVM.domain;
+using StructureMap;
+
+namespace MVPtoMVVM.mvvm
+{
+ public class Bootstrap
+ {
+ public void Execute()
+ {
+ ObjectFactory.Initialize(x =>
+ x.Scan(scanner =>
+ {
+ scanner.AssemblyContainingType(typeof(TodoItem));
+ scanner.WithDefaultConventions();
+ })
+ );
+
+ }
+ }
+} \ No newline at end of file