@@ -41,24 +41,24 @@ protected override void OnLaunched(LaunchActivatedEventArgs e)
41
41
TitleBarHelper . StyleTitleBar ( ) ;
42
42
TitleBarHelper . ExpandViewIntoTitleBar ( ) ;
43
43
44
- // Register services
45
- Ioc . Default . ConfigureServices (
46
- new ServiceCollection ( )
47
- //Services
48
- . AddSingleton < IFilesService , FilesService > ( )
49
- . AddSingleton < ISettingsService , SettingsService > ( )
50
- . AddSingleton ( RestService . For < IRedditService > ( "https://www.reddit.com/" ) )
51
- //ViewModels
52
- . AddTransient < PostWidgetViewModel > ( )
53
- . AddTransient < SubredditWidgetViewModel > ( )
54
- . AddTransient < AsyncRelayCommandPageViewModel > ( )
55
- . AddTransient < IocPageViewModel > ( )
56
- . AddTransient < MessengerPageViewModel > ( )
57
- . AddTransient < ObservableObjectPageViewModel > ( )
58
- . AddTransient < RelayCommandPageViewModel > ( )
59
- . AddTransient < SamplePageViewModel > ( )
60
- . BuildServiceProvider ( ) ) ;
61
- }
44
+ // Register services
45
+ Ioc . Default . ConfigureServices (
46
+ new ServiceCollection ( )
47
+ //Services
48
+ . AddSingleton < IFilesService , FilesService > ( )
49
+ . AddSingleton < ISettingsService , SettingsService > ( )
50
+ . AddSingleton ( RestService . For < IRedditService > ( "https://www.reddit.com/" ) )
51
+ //ViewModels
52
+ . AddTransient < PostWidgetViewModel > ( )
53
+ . AddTransient < SubredditWidgetViewModel > ( )
54
+ . AddTransient < AsyncRelayCommandPageViewModel > ( )
55
+ . AddTransient < IocPageViewModel > ( )
56
+ . AddTransient < MessengerPageViewModel > ( )
57
+ . AddTransient < ObservableObjectPageViewModel > ( )
58
+ . AddTransient < RelayCommandPageViewModel > ( )
59
+ . AddTransient < SamplePageViewModel > ( )
60
+ . BuildServiceProvider ( ) ) ;
61
+ }
62
62
63
63
// Enable the prelaunch if needed, and activate the window
64
64
if ( e . PrelaunchActivated == false )
0 commit comments