Skip to content

Commit 03d736c

Browse files
fix: Adding missing code
1 parent 2d5ddd2 commit 03d736c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/[ApplicationNameUpperCamelCase]/Views/MainWindow.axaml.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@ public MainWindow() {
2828
this.AttachDevTools();
2929
#endif
3030
}
31+
32+
#if !DEBUG
33+
/// <summary>
34+
/// The service provider for DI.
35+
/// </summary>
36+
public IServiceProvider? ServiceProvider { get; set; }
37+
#endif
3138

3239
/// <summary>
3340
/// Checks for a new version number of the application.

0 commit comments

Comments
 (0)