perf: return Dictionary instead interface
This commit is contained in:
parent
2041a187e7
commit
fe24dfcd6a
@ -9,9 +9,9 @@ namespace Mirea.Api.Endpoint.Configuration.AppConfig;
|
|||||||
|
|
||||||
public static class EnvironmentConfiguration
|
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;
|
if (!File.Exists(envFile)) return environment;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user