コード例 #1
0
ファイル: FinalizeBuild.cs プロジェクト: anangaur/core-setup
 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);
        }