async Task OpenItemImpl(IIssueListItemViewModelBase item)
 {
     if (item != null)
     {
         await DoOpenItem(item);
     }
 }
        /// <inheritdoc/>
        protected override Task DoOpenItem(IIssueListItemViewModelBase item)
        {
            var i = (IPullRequestListItemViewModel)item;

            NavigateTo(Invariant($"{RemoteRepository.Owner}/{RemoteRepository.Name}/pull/{i.Number}"));
            return(Task.CompletedTask);
        }
 /// <summary>
 /// When overridden in a derived class, navigates to the specified item.
 /// </summary>
 /// <param name="item">The item.</param>
 /// <returns>A task tracking the operation.</returns>
 protected abstract Task DoOpenItem(IIssueListItemViewModelBase item);
Ejemplo n.º 4
0
 protected override Task DoOpenItem(IIssueListItemViewModelBase item)
 {
     throw new NotImplementedException();
 }