Refactor recent PRs

This commit is contained in:
Tyrrrz
2020-11-18 18:00:43 +02:00
parent eba66d0878
commit d6da687170
14 changed files with 159 additions and 133 deletions

View File

@@ -28,7 +28,7 @@ namespace CliFx.Demo
public static async Task<int> Main() =>
await new CliApplicationBuilder()
.AddCommandsFromThisAssembly()
.UseTypeActivator(GetServiceProvider().GetService)
.UseTypeActivator(GetServiceProvider().GetRequiredService)
.Build()
.RunAsync();
}