File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed
Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,8 @@ public class MainModule : IModule
1616 /// <param name="containerProvider">The container provider.</param>
1717 public void OnInitialized ( IContainerProvider containerProvider )
1818 {
19- var applicationStateService = containerProvider . Resolve < IApplicationStateService > ( ) ;
20- applicationStateService . Subscribe ( ) ;
21-
2219 var regionManager = containerProvider . Resolve < IRegionManager > ( ) ;
23- regionManager . RegisterViewWithRegion ( "MainRegion" , typeof ( Views . WelcomeComponent ) ) ;
20+ regionManager . RegisterViewWithRegion ( "MainRegion" , typeof ( Views . MainComponent ) ) ;
2421 }
2522
2623 /// <summary>
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ public class MainComponentViewModel : BindableBase
1818 {
1919 private IProcessProvider dotnetService ;
2020 private IEventAggregator eventAggregator ;
21+ private IApplicationStateService applicationStateService ;
2122 private DiolExecutor diolExecutor ;
2223
2324 /// <summary>
@@ -29,11 +30,12 @@ public class MainComponentViewModel : BindableBase
2930 public MainComponentViewModel (
3031 IProcessProvider dotnetService ,
3132 IEventAggregator eventAggregator ,
33+ IApplicationStateService applicationStateService ,
3234 DiolExecutor diolExecutor )
3335 {
3436 this . diolExecutor = diolExecutor ;
3537 this . dotnetService = dotnetService ;
36-
38+ this . applicationStateService = applicationStateService ;
3739 this . eventAggregator = eventAggregator ;
3840
3941 this . eventAggregator
@@ -50,6 +52,8 @@ public MainComponentViewModel(
5052
5153 CanProcess ( true ) ;
5254
55+ this . applicationStateService . Subscribe ( ) ;
56+
5357 this . DebugMenuItemVisibility = Visibility . Hidden ;
5458
5559#if DEBUG
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<PackageManifest Version =" 2.0.0" xmlns =" http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns : d =" http://schemas.microsoft.com/developer/vsx-schema-design/2011" >
33 <Metadata >
4- <Identity Id =" DiolVSIX.66bbb016-3110-40f6-a936-35f914a663e3" Version =" 1.8 " Language =" en-US" Publisher =" Diol devs" />
4+ <Identity Id =" DiolVSIX.66bbb016-3110-40f6-a936-35f914a663e3" Version =" 1.9 " Language =" en-US" Publisher =" Diol devs" />
55 <DisplayName >Diol</DisplayName >
66 <Description xml : space =" preserve" >Dotnet Input-Output Logger (Diol) is a free and open-source tool you can easily see and explore logs during debugging your dotnet application in real time.</Description >
77 <MoreInfo >https://github.com/Dotnet-IO-logger/core/wiki</MoreInfo >
You can’t perform that action at this time.
0 commit comments