// ReSharper restore InconsistentNaming public static void Install(EnvFileLoadSettings loadSettings = EnvFileLoadSettings.None) { if (_environmentImpl == null) { _environmentImpl = new EnvironmentImpl(new JsonSettingsProvider(null, loadSettings)); } _environmentImpl.Load(); }
internal JsonSettingsProvider(IFileSystem fileSystem, EnvFileLoadSettings loadSettings) { _fileSystem = fileSystem ?? new FileSystem(); _loadSettings = loadSettings; }