Unused
This commit is contained in:
parent
29b0e78cc1
commit
a6d5a3eb72
1 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ static class Program
|
||||||
[STAThread]
|
[STAThread]
|
||||||
public static void Main(string[] args)
|
public static void Main(string[] args)
|
||||||
=> BuildAvaloniaApp()
|
=> BuildAvaloniaApp()
|
||||||
.UseMicrosoftDependencyInjection(args)
|
.UseMicrosoftDependencyInjection()
|
||||||
.StartWithClassicDesktopLifetime(args);
|
.StartWithClassicDesktopLifetime(args);
|
||||||
|
|
||||||
public static AppBuilder BuildAvaloniaApp()
|
public static AppBuilder BuildAvaloniaApp()
|
||||||
|
|
@ -56,7 +56,7 @@ static class Program
|
||||||
dispatcher.ShutdownFinished += (_, _) => serviceProvider.Dispose();
|
dispatcher.ShutdownFinished += (_, _) => serviceProvider.Dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
private static AppBuilder UseMicrosoftDependencyInjection(this AppBuilder builder, string[] args)
|
private static AppBuilder UseMicrosoftDependencyInjection(this AppBuilder builder)
|
||||||
{
|
{
|
||||||
ServiceCollection services = [];
|
ServiceCollection services = [];
|
||||||
ConfigureServices(services);
|
ConfigureServices(services);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue