Inheritance: Microsoft.Practices.Composite.UnityExtensions.UnityBootstrapper
Esempio n. 1
0
        private void Application_Startup(object sender, StartupEventArgs e)
        {
            Csla.Serialization.Mobile.CslaReaderWriterFactory.SetCslaReaderType(typeof(Csla.Serialization.Mobile.CslaBinaryReader));
            Csla.Serialization.Mobile.CslaReaderWriterFactory.SetCslaWriterType(typeof(Csla.Serialization.Mobile.CslaBinaryWriter));

            var bootstrapper = new Bootstrapper();

            bootstrapper.Run();
            aggregator = bootstrapper.Container.Resolve<IEventAggregator>();
        }
Esempio n. 2
0
 protected override void OnStartup(StartupEventArgs e)
 {
   base.OnStartup(e);
   var bootstrapper = new Bootstrapper();
   bootstrapper.Run();
 }