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]
|
||||
public static void Main(string[] args)
|
||||
=> BuildAvaloniaApp()
|
||||
.UseMicrosoftDependencyInjection(args)
|
||||
.UseMicrosoftDependencyInjection()
|
||||
.StartWithClassicDesktopLifetime(args);
|
||||
|
||||
public static AppBuilder BuildAvaloniaApp()
|
||||
|
|
@ -56,7 +56,7 @@ static class Program
|
|||
dispatcher.ShutdownFinished += (_, _) => serviceProvider.Dispose();
|
||||
}
|
||||
|
||||
private static AppBuilder UseMicrosoftDependencyInjection(this AppBuilder builder, string[] args)
|
||||
private static AppBuilder UseMicrosoftDependencyInjection(this AppBuilder builder)
|
||||
{
|
||||
ServiceCollection services = [];
|
||||
ConfigureServices(services);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue