Ejemplo n.º 1
0
 public CustomerListVM(LocalDomainContext domainContext, IAppState appState, INavigator nav)
 {
     this.domainContext = domainContext;
     AppState           = appState;
     this.nav           = nav;
 }
Ejemplo n.º 2
0
 static TuongSoServiceContainer()
 {
     container.RegisterInstance(LocalDomainContext.GetContext());
     container.RegisterType <IAppState, AppState>(new ContainerControlledLifetimeManager());
     container.RegisterType <IAppEvents, AppEvents>(new ContainerControlledLifetimeManager());
 }