コード例 #1
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"));
        }
コード例 #2
0
ファイル: App.xaml.cs プロジェクト: ssethi/TestFrameworks
        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");
                    });
        }
コード例 #3
0
ファイル: App.xaml.cs プロジェクト: wobuzhudao/Phutball
 protected override void ConfigurePresentationFramework(PresentationFrameworkConfiguration module)
 {
     module.RegisterAllScreensWithSubjects();
     ExecuteBootsrapTasks();
 }
コード例 #4
0
 protected override void ConfigurePresentationFramework(PresentationFrameworkConfiguration module)
 {
     module.RegisterAllScreensWithSubjects();
     ExecuteBootsrapTasks();
 }