Example #1
0
        protected override void ConfigurePresentationFramework(PresentationFrameworkConfiguration module)
        {
            module.Using(x => x.ConventionManager<DefaultConventionManager>())
                .Configured(x => {
                    x.AddElementConvention<BusyIndicator>("IsBusyChanged", BusyIndicator.IsBusyProperty, (c, o) => c.IsBusy = (bool)o, c => c.IsBusy);
                    x.AddElementConvention<Rating>("ValueChanged", Rating.ValueProperty, (c, o) => c.Value = (double?)o, c => c.Value);
                });

            module.With.ShellFramework();
        }
Example #2
0
        protected override void ConfigurePresentationFramework(PresentationFrameworkConfiguration module)
        {
            module.With.ShellFramework()
            .ConfigureDeepLinking <DeepLinkStateManager, DefaultHistoryCoordinator>()
            .RedirectViewNamespace("Fab.Client.Shell.Views");

            module.RegisterAllScreensWithSubjects(true)
            .Using(x => x.ViewLocator <DefaultViewLocator>())
            .Configured(x => x.AddNamespaceAlias("Fab.Client.Models", "Fab.Client.Shell.Views"));
        }
Example #3
0
        protected override void ConfigurePresentationFramework(PresentationFrameworkConfiguration module)
        {
            module.With.ShellFramework()
                .ConfigureDeepLinking<DeepLinkStateManager, DefaultHistoryCoordinator>()
                .RedirectViewNamespace("Caliburn.Silverlight.NavigationShell.Shell.Views");

            module
                .RegisterAllScreensWithSubjects(true)
                .Using(x => x.ViewLocator<DefaultViewLocator>())
                    .Configured(x =>{
                        x.AddNamespaceAlias("Caliburn.Silverlight.NavigationShell.Framework",
                                            "Caliburn.Silverlight.NavigationShell.Shell.Views");
                    });
        }
Example #4
0
 protected override void ConfigurePresentationFramework(PresentationFrameworkConfiguration module)
 {
     module.RegisterAllScreensWithSubjects();
     ExecuteBootsrapTasks();
 }
 protected override void given_the_context_of()
 {
     _config = CaliburnModule<PresentationFrameworkConfiguration>.Instance;
     _module = _config;
 }
Example #6
0
 protected override void ConfigurePresentationFramework(PresentationFrameworkConfiguration module)
 {
     module.RegisterAllScreensWithSubjects();
     ExecuteBootsrapTasks();
 }
Example #7
0
 protected override void given_the_context_of()
 {
     config = CaliburnModule <PresentationFrameworkConfiguration> .Instance;
     module = config;
 }