public void AddStoreProvider(IEvnValStoreProvider storeProvider) { if (storeProvider == null) return; _storeProviders.Add(storeProvider); var evnVals = storeProvider.GetEnvironmentVariables(); foreach (var evnVal in evnVals) { if (!_dicEvnVal.ContainsKey(evnVal.Key)) { _dicEvnVal.Add(evnVal.Key, evnVal.Value); } } }
public void AddStoreProvider(IEvnValStoreProvider storeProvider) { if (storeProvider == null) { return; } _storeProviders.Add(storeProvider); var evnVals = storeProvider.GetEnvironmentVariables(); foreach (var evnVal in evnVals) { if (!_dicEvnVal.ContainsKey(evnVal.Key)) { _dicEvnVal.Add(evnVal.Key, evnVal.Value); } } }