示例#1
0
 private async void Call()
 {
     if (await CheckPermissions())
     {
         phoneService.Call(AppConfigurations.MedicalCenterLine);
     }
 }
示例#2
0
 public PhoneViewModel(IPhoneService phone)
 {
     this.Call = new Command(() => phone.Call(this.DisplayName, this.PhoneNumber));
 }
 public PhoneViewModel(IPhoneService phone) {
     this.Call = new Command(() => phone.Call(this.DisplayName, this.PhoneNumber));
 }
 public PhoneViewModel(IPhoneService phone)
 {
     this.Call = new Command(() => phone.Call(String.Empty, this.PhoneNumber));
 }
示例#5
0
 public PhoneViewModel(IPhoneService phone)
 {
     this.Call = new Command(() => phone.Call(String.Empty, this.PhoneNumber));
 }
 private void CallMedicalCenter()
 {
     phoneService.Call(AppConfigurations.MedicalCenterLine);
 }