コード例 #1
0
 public AboutViewModel()
 {
     XamarinWebCommand = new Command(() =>
                                     Device.OpenUri(new Uri("https://xamarin.com/platform")));
     DfiWebCommand = new Command(() =>
                                 Device.OpenUri(new Uri("http://www.dfi.dk")));
     RateWebCommand = new Command(() =>
                                  Device.OpenUri(new Uri(RateHelper.GetRateUrl())));
 }
コード例 #2
0
 public MenuViewModel()
 {
     RateWebCommand = new Command(() =>
                                  Device.OpenUri(new Uri(RateHelper.GetRateUrl())));
 }