perf: return Dictionary instead interface

This commit is contained in:
Polianin Nikita 2024-07-04 23:31:05 +03:00
parent 2041a187e7
commit fe24dfcd6a

View File

@ -9,9 +9,9 @@ namespace Mirea.Api.Endpoint.Configuration.AppConfig;
public static class EnvironmentConfiguration
{
private static IDictionary<string, string> LoadEnvironment(string envFile)
private static Dictionary<string, string> LoadEnvironment(string envFile)
{
Dictionary<string, string> environment = new();
Dictionary<string, string> environment = [];
if (!File.Exists(envFile)) return environment;