public AzureTapeStream(string name, string connectionString, string containerName, ITapeStreamSerializer serializer) { _serializer = serializer; CloudStorageAccount storageAccount = CloudStorageAccount.Parse(connectionString); blobClient = storageAccount.CreateCloudBlobClient(); container = blobClient.GetContainerReference(containerName); container.CreateIfNotExist(); _blob = container.GetBlobReference(name); }
public AzureTapeStream(string name, string connectionString, string containerName, ITapeStreamSerializer serializer) { _serializer = serializer; CloudStorageAccount storageAccount = CloudStorageAccount.Parse(connectionString); blobClient = storageAccount.CreateCloudBlobClient(); container = blobClient.GetContainerReference(containerName); container.CreateIfNotExist(); _blob = container.GetBlobReference(name); }
public FileTapeStream(string name, ITapeStreamSerializer serializer) { _file = new FileInfo(name); _serializer = serializer; }
public FileTapeStream(string name, ITapeStreamSerializer serializer) { _file = new FileInfo(name); _serializer = serializer; }