public ErroViewModel(Exception ex, IOpenUriService openService) { CurrentException = ex; OpenWebCommand = new DelegateCommand <String>((p) => openService.Open(p)); SendExceptionCommand = new DelegateCommand(async() => await SendException(ex)); }
public AboutViewModel(IOpenUriService openService) { InitVersion(); OpenWebCommand = new DelegateCommand <String>((p) => openService.Open(p)); }