Exemplo n.º 1
0
        protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);

            _session = App.CodeCampService.Repository.GetSession(NavigationContext.QueryString["key"]);
            DataContext = _session;
        }
Exemplo n.º 2
0
        protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);

            _session    = App.CodeCampService.Repository.GetSession(NavigationContext.QueryString["key"]);
            DataContext = _session;
        }
        public SessionViewController(Session session)
            : base("SessionViewController", null)
        {
            Initialize ();

            _session = session;
        }