File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
ExtensionManager.Vsix.Shared Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 1+ using System ;
2+
3+ using ExtensionManager . UI . Attached ;
4+ using ExtensionManager . VisualStudio . Themes ;
5+
6+ using Microsoft . Extensions . DependencyInjection ;
7+
8+ namespace ExtensionManager . UI ;
9+
10+ public static class UIMarkupServices
11+ {
12+ public static void Initialize ( IServiceProvider services )
13+ {
14+ VSTheme . Initialize ( services . GetRequiredService < IVSThemes > ( ) ) ;
15+ }
16+ }
Original file line number Diff line number Diff line change 1111
1212using ExtensionManager . Features . Export ;
1313using ExtensionManager . Features . Install ;
14+ using ExtensionManager . UI ;
1415using ExtensionManager . VisualStudio ;
1516using ExtensionManager . VisualStudio . Solution ;
1617
@@ -45,6 +46,8 @@ protected override async Task InitializeAsync(CancellationToken cancellationToke
4546 . ConfigureExtensionManager ( new ThisVsixInfo ( ) )
4647 . BuildServiceProvider ( ) ;
4748
49+ UIMarkupServices . Initialize ( services ) ;
50+
4851 var solutions = services . GetRequiredService < IVSSolutions > ( ) ;
4952 var featureExecutor = services . GetRequiredService < IFeatureExecutor > ( ) ;
5053
You can’t perform that action at this time.
0 commit comments