コード例 #1
0
 public SessionStorageManagerBase(IStateManager stateManager, SurrogateManager surrogateManager)
 {
     _stateManager            = stateManager;
     _surrogateManager        = surrogateManager;
     _serializer              = new StorageSerializerUsingJsonnet();
     _surrogatesToBePersisted = new Hashtable();
 }
コード例 #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;
     }
 }
コード例 #3
0
 public TempDictStorageManager()
 {
     _serializer = new StorageSerializerUsingJsonnet();
     _surrogatesToBePersisted = new HashSet <StateObjectSurrogate>();
 }