コード例 #1
0
        public NavigationGraph(NavigationController controller)
        {
            _controller = controller;

            _viewModels.Add(new TitleViewModel());
            _viewModels.Add(new SlidesAndCodeViewModel());
            _viewModels.Add(new AboutMeViewModel());
            _viewModels.Add(new BrainViewModel());
            _viewModels.Add(new BulletPointViewModel("Occasionally-connected Silverlight clients")
                .AddBullet("Why?")
                .AddBullet("Architecture")
                .AddBullet("Correspondence")
                .AddBullet("Next steps"));
            _viewModels.Add(new BulletPointViewModel("Occasionally Connected Clients")
                .AddBullet("View data off-line")
                .AddBullet("Make changes off-line")
                .AddBullet("Work with a subset of data")
                .AddBullet("Store and forward")
                .AddBullet("Propogate changes to the user"));
            _viewModels.Add(new BulletPointViewModel("Correspondence")
                .AddBullet("Local storage")
                .AddBullet("Change queue")
                .AddBullet("Synchronization service")
                .AddBullet("Push notification")
                .AddBullet("Conflict detection"));
            _viewModels.Add(new ArchitectureViewModel());
            _viewModels.Add(new BulletPointViewModel("The Community is ...")
                .AddBullet("Users")
                .AddBullet("Devices")
                .AddBullet("Data")
                .AddBullet("Services"));
            _viewModels.Add(new BulletPointViewModel("The Community ...")
                .AddBullet("Calls strategies")
                .AddBullet("Caches facts")
                .AddBullet("Subscribes to queues")
                .AddBullet("Is model agnostic"));
            _viewModels.Add(new FactsViewModel());
            _viewModels.Add(new BulletPointViewModel("Next Steps")
                .AddBullet("qedcode.com/correspondence")
                .AddBullet("NuGet Correspondence. Silverlight.AllInOne")
                .AddBullet("Correspondence.CodePlex.com")
                .AddBullet("@MichaelLPerry"));
        }
コード例 #2
0
        public NavigationGraph(NavigationController controller)
        {
            _controller = controller;

            _viewModels.Add(new TitleViewModel());
            _viewModels.Add(new BrainViewModel());
            _viewModels.Add(new CorrespondenceViewModel());
            _viewModels.Add(new TextViewModel(
                "Historical Modeling",
                "Captures system state in the relationships among partially ordered historical facts."));
            _viewModels.Add(new GiftCardViewModel());
            _viewModels.Add(new BulletPointViewModel("Lessons learned")
                .AddBullet("History is more important than state")
                .AddBullet("Sometimes order matters"));
            _viewModels.Add(new TextViewModel(
                "Historical Modeling",
                "Captures system state in the relationships among partially ordered historical facts."));
            _viewModels.Add(new FulfillmentViewModel());
            _viewModels.Add(new BulletPointViewModel("The rules of Historical Modeling")
                .AddBullet("Facts are immutable")
                .AddBullet("A fact knows its predecessors")
                .AddBullet("A fact is identified by its type, fields, and predecessors"));
            _viewModels.Add(new TitleViewModel());
        }