Пример #1
0
 public string[] GetBlobList(string path)
 {
     return(GetAzureBlobList.Execute(AccountName,
                                     AccountKey,
                                     ConnectionString,
                                     ContainerName,
                                     path,
                                     BuildEngine,
                                     HostObject));
 }
Пример #2
0
        public static string [] Execute(string accountName,
                                        string accountKey,
                                        string connectionString,
                                        string containerName,
                                        string filterBlobNames,
                                        IBuildEngine buildengine,
                                        ITaskHost taskHost)
        {
            GetAzureBlobList getAzureBlobList = new GetAzureBlobList()
            {
                AccountName     = accountName,
                AccountKey      = accountKey,
                ContainerName   = containerName,
                FilterBlobNames = filterBlobNames,
                BuildEngine     = buildengine,
                HostObject      = taskHost
            };

            getAzureBlobList.Execute();
            return(getAzureBlobList.BlobNames);
        }