Inheritance: Microsoft.Practices.Composite.UnityExtensions.UnityBootstrapper
Exemple #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>();
        }
Exemple #2
0
 protected override void OnStartup(StartupEventArgs e)
 {
   base.OnStartup(e);
   var bootstrapper = new Bootstrapper();
   bootstrapper.Run();
 }