From fe24dfcd6a8b7cd964192e37520619210241d79a Mon Sep 17 00:00:00 2001 From: Polianin Nikita Date: Thu, 4 Jul 2024 23:31:05 +0300 Subject: [PATCH] perf: return Dictionary instead interface --- Endpoint/Configuration/AppConfig/EnvironmentConfiguration.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Endpoint/Configuration/AppConfig/EnvironmentConfiguration.cs b/Endpoint/Configuration/AppConfig/EnvironmentConfiguration.cs index cb22eb5..fe90c2c 100644 --- a/Endpoint/Configuration/AppConfig/EnvironmentConfiguration.cs +++ b/Endpoint/Configuration/AppConfig/EnvironmentConfiguration.cs @@ -9,9 +9,9 @@ namespace Mirea.Api.Endpoint.Configuration.AppConfig; public static class EnvironmentConfiguration { - private static IDictionary LoadEnvironment(string envFile) + private static Dictionary LoadEnvironment(string envFile) { - Dictionary environment = new(); + Dictionary environment = []; if (!File.Exists(envFile)) return environment;