Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 6c22912

Browse files
Merge branch 'features/check-suite-annotations' into features/check-suite-annotations-inline
2 parents df93480 + e2e4b6c commit 6c22912

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/GitHub.Exports.Reactive/Models/IPullRequestSessionFile.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public interface IPullRequestSessionFile : INotifyPropertyChanged
5757
/// <summary>
5858
/// Gets the inline annotations for the file.
5959
/// </summary>
60-
IReadOnlyList<IInlineAnnotationModel> InlineAnnotations { get; }
60+
IReadOnlyList<InlineAnnotationModel> InlineAnnotations { get; }
6161

6262
/// <summary>
6363
/// Gets an observable that is raised with a collection of 0-based line numbers when the

src/GitHub.InlineReviews/Models/PullRequestSessionFile.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class PullRequestSessionFile : ReactiveObject, IPullRequestSessionFile
2525
IReadOnlyList<DiffChunk> diff;
2626
string commitSha;
2727
IReadOnlyList<IInlineCommentThreadModel> inlineCommentThreads;
28-
IReadOnlyList<IInlineAnnotationModel> inlineAnnotations;
28+
IReadOnlyList<InlineAnnotationModel> inlineAnnotations;
2929

3030
/// <summary>
3131
/// Initializes a new instance of the <see cref="PullRequestSessionFile"/> class.
@@ -101,16 +101,16 @@ public IReadOnlyList<IInlineCommentThreadModel> InlineCommentThreads
101101
public IObservable<IReadOnlyList<Tuple<int, DiffSide>>> LinesChanged => linesChanged;
102102

103103
/// <inheritdoc/>
104-
public IReadOnlyList<IInlineAnnotationModel> InlineAnnotations
104+
public IReadOnlyList<InlineAnnotationModel> InlineAnnotations
105105
{
106106
get
107107
{
108108
return inlineAnnotations;
109109
}
110110
set
111111
{
112-
var lines = (inlineAnnotations ?? Enumerable.Empty<IInlineAnnotationModel>())?
113-
.Concat(value ?? Enumerable.Empty<IInlineAnnotationModel>())
112+
var lines = (inlineAnnotations ?? Enumerable.Empty<InlineAnnotationModel>())?
113+
.Concat(value ?? Enumerable.Empty<InlineAnnotationModel>())
114114
.Select(x => Tuple.Create(x.StartLine, DiffSide.Right))
115115
.Where(x => x.Item1 >= 0)
116116
.Distinct()

src/GitHub.InlineReviews/Services/IPullRequestSessionService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ Task<IReadOnlyList<DiffChunk>> Diff(
5252
/// <param name="pullRequest">The pull request session.</param>
5353
/// <param name="relativePath">The relative path to the file.</param>
5454
/// <returns>
55-
/// A collection of <see cref="IInlineAnnotationModel"/> objects.
55+
/// A collection of <see cref="InlineAnnotationModel"/> objects.
5656
/// </returns>
57-
IReadOnlyList<IInlineAnnotationModel> BuildAnnotations(
57+
IReadOnlyList<InlineAnnotationModel> BuildAnnotations(
5858
PullRequestDetailModel pullRequest,
5959
string relativePath);
6060

src/GitHub.InlineReviews/Services/PullRequestSessionService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public virtual async Task<IReadOnlyList<DiffChunk>> Diff(ILocalRepositoryModel r
9898
}
9999

100100
/// <inheritdoc/>
101-
public IReadOnlyList<IInlineAnnotationModel> BuildAnnotations(
101+
public IReadOnlyList<InlineAnnotationModel> BuildAnnotations(
102102
PullRequestDetailModel pullRequest,
103103
string relativePath)
104104
{

0 commit comments

Comments
 (0)