Beispiel #1
0
        public MainPage()
        {
            this.InitializeComponent();
            this.NavigationCacheMode = Windows.UI.Xaml.Navigation.NavigationCacheMode.Enabled;

            _msg = App.Container.GetInstance<MessengerService>();
            _msg.Register<Geopoint>(this, "PositionChanged", x => DrawPositionChanged(x));
            _msg.Register<IEnumerable<Directory>>(this, "NearbySchoolsChanged", x => DrawNearbySchoolsChanged(x));
        }