// Constructor
        public AzureFileSystem(String userName, String password, String containerName, Modes mode)
        {
            _userName = userName;
            _password = password;

            // Set container name (if none specified, specify the development container default)
            _containerName = !String.IsNullOrEmpty(containerName) ? containerName : "DevelopmentContainer";
            _provider = new AzureBlobStorageProvider(containerName);
        }
示例#2
0
 // Constructor
 public AzureFileSystem(string containerName)
 {
     // Set container name (if none specified, specify the development container default)
     _containerName = !string.IsNullOrEmpty(containerName) ? containerName : "DevelopmentContainer";
     _provider = new AzureBlobStorageProvider(_containerName);
 }
示例#3
0
 public AzureFileInfo(AzureCloudFile file, AzureBlobStorageProvider provider)
 {
     _file = file;
     _provider = provider;
 }
示例#4
0
 // Constructor
 public AzureFileSystem(string storageAccount, string containerName, bool sendQueueNotificationsOnUpload)
 {
     // Set container name (if none specified, specify the development container default)
     _containerName = !string.IsNullOrEmpty(containerName) ? containerName : "DevelopmentContainer";
     _provider = new AzureBlobStorageProvider(storageAccount, _containerName, sendQueueNotificationsOnUpload);
 }