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

Commit d6a95f7

Browse files
Making several properties read only
1 parent e55e47a commit d6a95f7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/GitHub.App/ViewModels/GitHubPane/PullRequestListItemViewModel.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@ public PullRequestListItemViewModel(PullRequestListItemModel model)
2727
}
2828

2929
/// <inheritdoc/>
30-
public string Id { get; protected set; }
30+
public string Id { get; }
3131

3232
/// <inheritdoc/>
33-
public IActorViewModel Author { get; protected set; }
33+
public IActorViewModel Author { get; }
3434

3535
/// <inheritdoc/>
36-
public PullRequestChecksState Checks { get; protected set; }
36+
public PullRequestChecksState Checks { get; }
3737

3838
/// <inheritdoc/>
39-
public int CommentCount { get; protected set; }
39+
public int CommentCount { get; }
4040

4141
/// <inheritdoc/>
4242
public bool IsCurrent
@@ -46,12 +46,12 @@ public bool IsCurrent
4646
}
4747

4848
/// <inheritdoc/>
49-
public int Number { get; protected set; }
49+
public int Number { get; }
5050

5151
/// <inheritdoc/>
52-
public string Title { get; protected set; }
52+
public string Title { get; }
5353

5454
/// <inheritdoc/>
55-
public DateTimeOffset UpdatedAt { get; protected set; }
55+
public DateTimeOffset UpdatedAt { get; }
5656
}
5757
}

0 commit comments

Comments
 (0)