示例#1
0
        public ErroViewModel(Exception ex, IOpenUriService openService)
        {
            CurrentException = ex;

            OpenWebCommand       = new DelegateCommand <String>((p) => openService.Open(p));
            SendExceptionCommand = new DelegateCommand(async() => await SendException(ex));
        }
示例#2
0
 public AboutViewModel(IOpenUriService openService)
 {
     InitVersion();
     OpenWebCommand = new DelegateCommand <String>((p) => openService.Open(p));
 }