public DetailViewModel(CharacterItemViewModel character, IOpenWebService openWebService = null) { Character = character; _openWebService = openWebService ?? Locator.Current.GetService <IOpenWebService>(); OpenWeb = ReactiveCommand.Create(() => _openWebService.OpenUrl(Character.Thumbnail)); }
private void ExecuteOpenWebCommand() { _openWebService.OpenUrl(ShowItem.URL); }
private void ExecuteOpenWebCommand() { _openWebService.OpenUrl(Character.Thumbnail); }