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

Commit 2e45e33

Browse files
committed
Add some xmldoc comments
1 parent f728d41 commit 2e45e33

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/GitHub.InlineReviews/Services/PullRequestStatusBarManager.cs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616

1717
namespace GitHub.InlineReviews.Services
1818
{
19+
/// <summary>
20+
/// Manage the UI that shows the PR for the current branch.
21+
/// </summary>
1922
public class PullRequestStatusBarManager
2023
{
2124
static readonly ILogger log = LogManager.ForContext<PullRequestStatusBarManager>();
@@ -33,11 +36,16 @@ public PullRequestStatusBarManager(IUsageTracker usageTracker, IGitHubServicePro
3336
this.serviceProvider = serviceProvider;
3437
}
3538

39+
/// <summary>
40+
/// Start showing the PR for the active branch on the status bar.
41+
/// </summary>
42+
/// <remarks>
43+
/// This must be called from the Main thread.
44+
/// </remarks>
3645
public void StartShowingStatus()
3746
{
3847
try
3948
{
40-
// Create just in time on Main thread.
4149
pullRequestSessionManager = serviceProvider.GetService<IPullRequestSessionManager>();
4250
pullRequestSessionManager.WhenAnyValue(x => x.CurrentSession)
4351
.Subscribe(x => RefreshCurrentSession());

0 commit comments

Comments
 (0)