Beispiel #1
0
        public DetailViewModel(CharacterItemViewModel character,
                               IOpenWebService openWebService = null)
        {
            Character       = character;
            _openWebService = openWebService ?? Locator.Current.GetService <IOpenWebService>();

            OpenWeb = ReactiveCommand.Create(() => _openWebService.OpenUrl(Character.Thumbnail));
        }
Beispiel #2
0
 private void ExecuteOpenWebCommand()
 {
     _openWebService.OpenUrl(ShowItem.URL);
 }
Beispiel #3
0
 private void ExecuteOpenWebCommand()
 {
     _openWebService.OpenUrl(Character.Thumbnail);
 }