diff options
Diffstat (limited to 'Tests/TestDataGenerator/Program.cs')
-rw-r--r-- | Tests/TestDataGenerator/Program.cs | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/Tests/TestDataGenerator/Program.cs b/Tests/TestDataGenerator/Program.cs deleted file mode 100644 index 2583817..0000000 --- a/Tests/TestDataGenerator/Program.cs +++ /dev/null @@ -1,27 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using LibMatrix.Services; -using LibMatrix.Utilities.Bot; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.Hosting; -using TestDataGenerator.Bot; - -Console.WriteLine("Hello, World!"); - -var host = Host.CreateDefaultBuilder(args).ConfigureServices((_, services) => { - services.AddScoped<TieredStorageService>(_ => - new TieredStorageService( - new FileStorageProvider("bot_data/cache/"), - new FileStorageProvider("bot_data/data/") - ) - ); - // services.AddSingleton<DataFetcherConfiguration>(); - services.AddSingleton<AppServiceConfiguration>(); - - services.AddRoryLibMatrixServices(); - services.AddMatrixBot();//.AddCommandHandler().AddCommands([typeof()]); - - services.AddHostedService<DataFetcher>(); -}).UseConsoleLifetime().Build(); - -await host.RunAsync(); \ No newline at end of file |