diff options
author | Rory& <root@rory.gay> | 2024-09-17 04:35:29 +0200 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-09-17 04:35:29 +0200 |
commit | 9efb2efc582e3d57154f40f519762a07b9d00501 (patch) | |
tree | f15e4296353c76c0bcb9481cc2da7a7b4e695c2d /Utilities/LibMatrix.DevTestBot/Program.cs | |
parent | Merge remote-tracking branch 'origin/dev/e2ee{canonical-json}' (diff) | |
download | LibMatrix-9efb2efc582e3d57154f40f519762a07b9d00501.tar.xz |
Arcanelibs changes
Diffstat (limited to 'Utilities/LibMatrix.DevTestBot/Program.cs')
-rw-r--r-- | Utilities/LibMatrix.DevTestBot/Program.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/LibMatrix.DevTestBot/Program.cs b/Utilities/LibMatrix.DevTestBot/Program.cs index eb5ad76..daaa65e 100644 --- a/Utilities/LibMatrix.DevTestBot/Program.cs +++ b/Utilities/LibMatrix.DevTestBot/Program.cs @@ -18,7 +18,7 @@ var host = Host.CreateDefaultBuilder(args).ConfigureServices((_, services) => { // ); services.AddScoped<DevTestBotConfiguration>(); services.AddRoryLibMatrixServices(); - foreach (var commandClass in new ClassCollector<ICommand>().ResolveFromAllAccessibleAssemblies()) { + foreach (var commandClass in ClassCollector<ICommand>.ResolveFromAllAccessibleAssemblies()) { Console.WriteLine($"Adding command {commandClass.Name}"); services.AddScoped(typeof(ICommand), commandClass); } |