예제 #1
0
        private void MeetingOnSpeakerAdded(object sender, Speaker speaker)
        {
            var vm = new SpeakerViewModel(this, speaker);

            vm.Navigation = this.Navigation;
            this.Speakers.Add(vm);
        }
예제 #2
0
        private void ExecuteEditCommand(SpeakerViewModel speaker)
        {
            var speakerPage = new SpeakerView {
                BindingContext = speaker
            };

            var navigation = GalaSoft.MvvmLight.Ioc.SimpleIoc.Default.GetInstance <INavigation>();

            navigation.PushAsync(speakerPage, true);
        }
예제 #3
0
 private async Task ExecuteDeleteComand(SpeakerViewModel speakerViewModel)
 {
     this.meeting.DeleteSpeaker(this.speaker);
 }