From cc0ccb136e4854e9fb8003be99a10d5589746787 Mon Sep 17 00:00:00 2001 From: Ravi Baghel Date: Sat, 11 May 2024 17:37:06 -0400 Subject: [PATCH] This change was made to enhance code cleanliness and efficiency. List of Changes: 1. The code line initializing a variable `c` with the instance of `SimpleContainer` has been altered. The updated code no longer assigns the instance to the variable `c`, but simply gets the instance of `SimpleContainer` without storing it in any variable. This change suggests that the variable `c` was not being used elsewhere in the code, hence it was removed to improve code cleanliness and efficiency. (Reference: Code Change 1) --- .../Wpf.Tutorial/Caliburn.Micro.Tutorial.Wpf/Bootstrapper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/tutorals/WPF/Wpf.Tutorial/Caliburn.Micro.Tutorial.Wpf/Bootstrapper.cs b/samples/tutorals/WPF/Wpf.Tutorial/Caliburn.Micro.Tutorial.Wpf/Bootstrapper.cs index dc656bbc..6b316322 100644 --- a/samples/tutorals/WPF/Wpf.Tutorial/Caliburn.Micro.Tutorial.Wpf/Bootstrapper.cs +++ b/samples/tutorals/WPF/Wpf.Tutorial/Caliburn.Micro.Tutorial.Wpf/Bootstrapper.cs @@ -43,7 +43,7 @@ protected override void Configure() protected override async void OnStartup(object sender, StartupEventArgs e) { - var c= IoC.Get(); + IoC.Get(); await DisplayRootViewForAsync(typeof(ShellViewModel)); }