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

Commit 6967c71

Browse files
committed
Remove unused IGitHubClient MEF export
This doesn't appear to be imported anywhere (no MEF log errors when removed).
1 parent 6c3175e commit 6967c71

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/GitHub.VisualStudio/GitHubPackage.cs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using System.ComponentModel.Composition;
32
using System.Runtime.InteropServices;
43
using System.Threading;
54
using System.Threading.Tasks;
@@ -8,15 +7,13 @@
87
using GitHub.Extensions;
98
using GitHub.Info;
109
using GitHub.Logging;
11-
using GitHub.Models;
1210
using GitHub.Services;
1311
using GitHub.ViewModels.GitHubPane;
1412
using GitHub.VisualStudio.Menus;
1513
using GitHub.VisualStudio.UI;
1614
using Microsoft.VisualStudio;
1715
using Microsoft.VisualStudio.Shell;
1816
using Microsoft.VisualStudio.Shell.Interop;
19-
using Octokit;
2017
using Serilog;
2118
using Task = System.Threading.Tasks.Task;
2219

@@ -92,16 +89,6 @@ async Task EnsurePackageLoaded(Guid packageGuid)
9289
}
9390
}
9491

95-
[Export(typeof(IGitHubClient))]
96-
public class GHClient : GitHubClient
97-
{
98-
[ImportingConstructor]
99-
public GHClient(IProgram program)
100-
: base(program.ProductHeader)
101-
{
102-
}
103-
}
104-
10592
[PackageRegistration(UseManagedResourcesOnly = true, AllowsBackgroundLoading = true)]
10693
[ProvideService(typeof(ILoginManager), IsAsyncQueryable = true)]
10794
[ProvideService(typeof(IMenuProvider), IsAsyncQueryable = true)]

0 commit comments

Comments
 (0)