示例#1
0
 public ContactController()
 {
     IoC.AddModule <WebAppExampleDataDependencyModule>();
     _contactLoader  = IoC.Get <ContactLoader>();
     _contactHandler = IoC.Get <ContactHandler>();
 }
示例#2
0
 public LoginController()
 {
     IoC.AddModule <WebAppExampleDataDependencyModule>();
     _userLoader = IoC.Get <UserLoader>();
 }
示例#3
0
 public void Setup()
 {
     IoC.AddModule <WebAppExampleDataDependencyModule>();
     _contactRepository = IoC.Get <IContactRepository>();
 }
 public void Setup()
 {
     IoC.AddModule <WebAppExampleDataDependencyModule>();
     _userRepository = IoC.Get <IUserRepository>();
 }