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