GetBlobContainersAsyncCollection
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
namespace Azure.Storage.Blobs.Models
{
    internal class GetBlobContainersAsyncCollection : StorageCollectionEnumerator<BlobContainerItem>
    {
        private readonly BlobServiceClient _client;
        private readonly BlobContainerTraits _traits;
        private readonly BlobContainerStates _states;
        private readonly string _prefix;
        public GetBlobContainersAsyncCollection(BlobServiceClient client, BlobContainerTraits traits, BlobContainerStates states, string prefix = null)
        {
            _client = client;
            _traits = traits;
            _states = states;
            _prefix = prefix;
        }
        [AsyncStateMachine(typeof(<GetNextPageAsync>d__5))]
        public override ValueTask<Page<BlobContainerItem>> GetNextPageAsync(string continuationToken, int? pageSizeHint, bool async, CancellationToken cancellationToken)
        {
            <GetNextPageAsync>d__5 stateMachine = default(<GetNextPageAsync>d__5);
            stateMachine.<>t__builder = AsyncValueTaskMethodBuilder<Page<BlobContainerItem>>.Create();
            stateMachine.<>4__this = this;
            stateMachine.continuationToken = continuationToken;
            stateMachine.pageSizeHint = pageSizeHint;
            stateMachine.async = async;
            stateMachine.cancellationToken = cancellationToken;
            stateMachine.<>1__state = -1;
            stateMachine.<>t__builder.Start(ref stateMachine);
            return stateMachine.<>t__builder.Task;
        }
    }
}