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(); }
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")); }
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"); }); }
protected override void ConfigurePresentationFramework(PresentationFrameworkConfiguration module) { module.RegisterAllScreensWithSubjects(); ExecuteBootsrapTasks(); }
protected override void given_the_context_of() { _config = CaliburnModule<PresentationFrameworkConfiguration>.Instance; _module = _config; }
protected override void given_the_context_of() { config = CaliburnModule <PresentationFrameworkConfiguration> .Instance; module = config; }