2023-08-12 19:08:38 +01:00
|
|
|
using LootDumpProcessor.Process;
|
2025-01-11 06:54:59 +03:00
|
|
|
using Microsoft.Extensions.DependencyInjection;
|
2023-08-12 19:08:38 +01:00
|
|
|
|
|
|
|
namespace LootDumpProcessor;
|
|
|
|
|
2024-04-16 18:29:40 +00:00
|
|
|
public static class Program
|
2023-08-12 19:08:38 +01:00
|
|
|
{
|
2025-01-11 06:54:59 +03:00
|
|
|
public static async Task Main()
|
2023-08-12 19:08:38 +01:00
|
|
|
{
|
2025-01-11 06:54:59 +03:00
|
|
|
var services = new ServiceCollection();
|
2025-01-13 20:05:36 +03:00
|
|
|
services.AddLootDumpProcessor();
|
2025-01-11 09:17:49 +03:00
|
|
|
|
|
|
|
await using var serviceProvider = services.BuildServiceProvider();
|
2025-01-11 10:52:23 +03:00
|
|
|
|
2025-01-11 09:17:49 +03:00
|
|
|
var pipeline = serviceProvider.GetRequiredService<IPipeline>();
|
|
|
|
await pipeline.Execute();
|
|
|
|
}
|
2023-08-12 19:08:38 +01:00
|
|
|
}
|