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

Commit 3ae3c1b

Browse files
Removing IInlineAnnotationModel
1 parent 72fa350 commit 3ae3c1b

File tree

2 files changed

+13
-30
lines changed

2 files changed

+13
-30
lines changed

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

Lines changed: 0 additions & 23 deletions
This file was deleted.

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

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22

33
namespace GitHub.Models
44
{
5-
/// <inheritdoc />
6-
public class InlineAnnotationModel: IInlineAnnotationModel
5+
/// <summary>
6+
/// Represents an inline annotation on an <see cref="IPullRequestSessionFile"/>.
7+
/// </summary>
8+
public class InlineAnnotationModel
79
{
810
private CheckRunModel checkRun;
911
private CheckRunAnnotationModel annotation;
@@ -20,14 +22,18 @@ public InlineAnnotationModel(CheckRunModel checkRun, CheckRunAnnotationModel ann
2022
this.checkRun = checkRun;
2123
this.annotation = annotation;
2224
}
23-
24-
/// <inheritdoc />
25+
/// Gets the start line of the annotation.
26+
/// </summary>
2527
public int StartLine => annotation.StartLine;
2628

27-
/// <inheritdoc />
29+
/// <summary>
30+
/// Gets the end line of the annotation.
31+
/// </summary>
2832
public int EndLine => annotation.EndLine;
29-
30-
/// <inheritdoc />
33+
34+
/// <summary>
35+
/// Gets the annotation level.
36+
/// </summary>
3137
public CheckAnnotationLevel AnnotationLevel => annotation.AnnotationLevel;
3238
}
3339
}

0 commit comments

Comments
 (0)