コード例 #1
0
        protected override ITapeStream InitializeAndGetTapeStorage()
        {
            _storageFactory = new FileTapeContainer(_path);
            _storageFactory.InitializeForWriting();

            const string name = "test";

            return(_storageFactory.GetOrCreateStream(name));
        }
コード例 #2
0
        protected override ITapeStream InitializeAndGetTapeStorage()
        {
            var config = AzureStorage.CreateConfig(_cloudStorageAccount);
            _storageFactory = new BlobTapeStorageFactory(config, ContainerName);
            _storageFactory.InitializeForWriting();

            const string name = "test";

            return _storageFactory.GetOrCreateStream(name);
        }
コード例 #3
0
        protected override ITapeStream InitializeAndGetTapeStorage()
        {
            var config = AzureStorage.CreateConfig(_cloudStorageAccount);

            _storageFactory = new BlobTapeStorageFactory(config, ContainerName);
            _storageFactory.InitializeForWriting();

            const string name = "test";

            return(_storageFactory.GetOrCreateStream(name));
        }
コード例 #4
0
        protected override ITapeStream InitializeAndGetTapeStorage()
        {
            _storageFactory = new FileTapeContainer(_path);
            _storageFactory.InitializeForWriting();

            const string name = "test";
            return _storageFactory.GetOrCreateStream(name);
        }