コード例 #1
0
 public EventDetailsPage(Sensor i_StreamingSensor) : this()
 {
     Task.Factory.StartNew(() =>
     {
         landscapeEventDetailsPage = new LandscapeEventDetailsPage(i_StreamingSensor);
         landscapeEventDetailsPage.RaiseContentViewUpdateEvent += eventsRouter;
     });
     eventDetailsViewModel = new EventDetailsViewModel(i_StreamingSensor);
     eventDetailsViewModel.EventsRouter += eventsRouter;
     initOrientationState();
 }
コード例 #2
0
 public EventDetailsPage(EventModel i_EventModel) : this()
 {
     Task.Factory.StartNew(() =>
     {
         landscapeEventDetailsPage = new LandscapeEventDetailsPage(i_EventModel);
         landscapeEventDetailsPage.RaiseContentViewUpdateEvent += eventsRouter;
     });
     eventDetailsViewModel = new EventDetailsViewModel(i_EventModel, true);
     eventDetailsViewModel.EventsRouter += eventsRouter;
     initOrientationState();
 }