master
1using MVPtoMVVM.domain;
2using StructureMap;
3
4namespace MVPtoMVVM.mvvm
5{
6 public class Bootstrap
7 {
8 public void Execute()
9 {
10 ObjectFactory.Initialize(x =>
11 x.Scan(scanner =>
12 {
13 scanner.AssemblyContainingType(typeof(TodoItem));
14 scanner.WithDefaultConventions();
15 })
16 );
17
18 }
19 }
20}