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

Commit cc12bea

Browse files
Making property setters protected
1 parent 202b059 commit cc12bea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/GitHub.InlineReviews/ViewModels/CommentThreadViewModel.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ protected CommentThreadViewModel(IAccount currentUser)
3434
public ReactiveCommand<ICommentModel> PostComment
3535
{
3636
get { return postComment; }
37-
set
37+
protected set
3838
{
3939
Guard.ArgumentNotNull(value, nameof(value));
4040
postComment = value;
@@ -48,7 +48,7 @@ public ReactiveCommand<ICommentModel> PostComment
4848
public ReactiveCommand<ICommentModel> EditComment
4949
{
5050
get { return editComment; }
51-
set
51+
protected set
5252
{
5353
Guard.ArgumentNotNull(value, nameof(value));
5454
editComment = value;
@@ -60,7 +60,7 @@ public ReactiveCommand<ICommentModel> EditComment
6060
public ReactiveCommand<object> DeleteComment
6161
{
6262
get { return deleteComment; }
63-
set
63+
protected set
6464
{
6565
Guard.ArgumentNotNull(value, nameof(value));
6666
deleteComment = value;

0 commit comments

Comments
 (0)