コード例 #1
0
ファイル: CustomerListVM.cs プロジェクト: dangson86/TuongSo
 public CustomerListVM(LocalDomainContext domainContext, IAppState appState, INavigator nav)
 {
     this.domainContext = domainContext;
     AppState           = appState;
     this.nav           = nav;
 }
コード例 #2
0
 static TuongSoServiceContainer()
 {
     container.RegisterInstance(LocalDomainContext.GetContext());
     container.RegisterType <IAppState, AppState>(new ContainerControlledLifetimeManager());
     container.RegisterType <IAppEvents, AppEvents>(new ContainerControlledLifetimeManager());
 }