Exemple #1
0
 protected void ConfigureFramework()
 {
     CaliburnFramework.Configure(locatorAdapter)
     .With.Core()
     .With.Assemblies(SelectAssemblies())
     .With.PresentationFramework()
     .Start();
 }
Exemple #2
0
 protected void ConfigureFramework()
 {
     CaliburnFramework.Configure(locatorAdapter)
     .With.Core()
     .With.Assemblies(SelectAssemblies())
     .With.PresentationFramework()
     .Using(x => x.WindowManager <WindowManager>())
     .Start();
 }
Exemple #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();
        }