Пример #1
0
 public bool DeleteBlob(string container, string blob)
 {
     return(DeleteAzureBlob.Execute(AccountName,
                                    AccountKey,
                                    ConnectionString,
                                    container,
                                    blob,
                                    BuildEngine,
                                    HostObject));
 }
Пример #2
0
        public static bool Execute(string accountName,
                                   string accountKey,
                                   string connectionString,
                                   string containerName,
                                   string blobName,
                                   IBuildEngine buildengine,
                                   ITaskHost taskHost)
        {
            DeleteAzureBlob deleteAzureoBlob = new DeleteAzureBlob()
            {
                AccountName   = accountName,
                AccountKey    = accountKey,
                ContainerName = containerName,
                BlobName      = blobName,
                BuildEngine   = buildengine,
                HostObject    = taskHost
            };

            return(deleteAzureoBlob.Execute());
        }