Esempio n. 1
0
 protected override void RegisterTypes(IContainerRegistry containerRegistry)
 {
     containerRegistry.RegisterInstance <WpfTestAppData>(DataLoader.Load(this.dataFilePath));
 }
Esempio n. 2
0
 protected override void RegisterTypes(IContainerRegistry containerRegistry)
 {
     containerRegistry.RegisterInstance <WpfTestAppData>(DataLoader.Load(this.dataFilePath));
     containerRegistry.RegisterSingleton <IMessageBoxService, MessageBoxService>();
 }