示例#1
0
        protected override ITapeStream InitializeAndGetTapeStorage()
        {
            _storageFactory = new MemoryTapeStorageFactory(_storage, "default");


            const string name = "Memory";

            return(_storageFactory.GetOrCreateStream(name));
        }
示例#2
0
 protected override void FreeResources()
 {
     _storageFactory = null;
 }