public SessionStorageManagerBase(IStateManager stateManager, SurrogateManager surrogateManager) { _stateManager = stateManager; _surrogateManager = surrogateManager; _serializer = new StorageSerializerUsingJsonnet(); _surrogatesToBePersisted = new Hashtable(); }
public void Dispose() { this._serializer = null; this._stateManager = null; this._surrogateManager = null; this._surrogatesToBePersisted = null; if (storageCache != null) { this.storageCache.Dispose(); this.storageCache = null; } }
public TempDictStorageManager() { _serializer = new StorageSerializerUsingJsonnet(); _surrogatesToBePersisted = new HashSet <StateObjectSurrogate>(); }