// Internal for unit tests internal string EvaluateGlobalProfileVariableKey(string key) { string retVal; GlobalProfileVariables.TryGetValue(key, out retVal); return(retVal); }
internal void LoadSessionStateKeys() { int numKeys = SessionState.GetInt(k_GlobalProfileVariablesCountKey, 0); for (int i = 0; i < numKeys; i++) { string profileVar = SessionState.GetString(GetSessionStateKey(i), string.Empty); if (!string.IsNullOrEmpty(profileVar)) { GlobalProfileVariables.Add(GetPrivateIpAddressKey(i), profileVar); } } }