コード例 #1
0
        public async Task <bool> Delete()
        {
            if (packageName == null)
            {
                throw new InvalidOperationException();
            }

            await PackageNames.Remove(packageName);

            if (!(await PackageNames.List()).Any())
            {
                return(await itemBlob.DeleteIfExistsAsync());
            }

            return(false);
        }