Ejemplo n.º 1
0
 protected void ConfigureFramework()
 {
     CaliburnFramework.Configure(locatorAdapter)
     .With.Core()
     .With.Assemblies(SelectAssemblies())
     .With.PresentationFramework()
     .Start();
 }
Ejemplo n.º 2
0
 protected void ConfigureFramework()
 {
     CaliburnFramework.Configure(locatorAdapter)
     .With.Core()
     .With.Assemblies(SelectAssemblies())
     .With.PresentationFramework()
     .Using(x => x.WindowManager <WindowManager>())
     .Start();
 }
Ejemplo n.º 3
0
        /// <summary>
        /// Called by the bootstrapper's constructor at runtime to start the framework.
        /// </summary>
        protected virtual void StartRuntime()
        {
            container = CreateContainer();
            var builder = CaliburnFramework
                          .Configure(container, Register);

            Configure(builder);

            builder.Start();

            Application = Application.Current;
            PrepareApplication();
        }