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

            vm.Navigation = this.Navigation;
            this.Speakers.Add(vm);
        }
Exemple #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);
        }
Exemple #3
0
 private async Task ExecuteDeleteComand(SpeakerViewModel speakerViewModel)
 {
     this.meeting.DeleteSpeaker(this.speaker);
 }