internal object GetDataWithoutUpdatingModifiedKeys(string name) { name = GetSessionNormalizedKeyToUse(name); ValueWrapper valueWrapper = (ValueWrapper)innerCollection[name]; if (valueWrapper != null) { return(valueWrapper.GetActualValue(_utility)); } return(null); }
private object GetData(string normalizedName) { ValueWrapper valueWrapper = (ValueWrapper)innerCollection[normalizedName]; if (valueWrapper != null) { object actualValue = valueWrapper.GetActualValue(_utility); // if actualValue is mutable then add it to modified list even during get operation if (actualValue != null && !actualValue.GetType().IsValueType&& actualValue.GetType() != typeof(string)) { AddInModifiedKeys(normalizedName); } return(actualValue); } return(null); }