/// <summary>
        /// GetChanges.
        /// </summary>
        /// <returns><see cref="BlobChangeFeedPageable"/>.</returns>
#pragma warning disable AZC0002 // DO ensure all service methods, both asynchronous and synchronous, take an optional CancellationToken parameter called cancellationToken.
        public virtual Pageable <BlobChangeFeedEvent> GetChanges()
#pragma warning restore AZC0002 // DO ensure all service methods, both asynchronous and synchronous, take an optional CancellationToken parameter called cancellationToken.
        {
            BlobChangeFeedPageable pageable = new BlobChangeFeedPageable(
                _blobServiceClient);

            return(pageable);
        }
예제 #2
0
        /// <summary>
        /// GetChanges.
        /// </summary>
        /// <param name="continuationToken"></param>
        /// <returns><see cref="BlobChangeFeedPageable"/>.</returns>
#pragma warning disable AZC0002 // DO ensure all service methods, both asynchronous and synchronous, take an optional CancellationToken parameter called cancellationToken.
        public virtual Pageable <BlobChangeFeedEvent> GetChanges(string continuationToken)
#pragma warning restore AZC0002 // DO ensure all service methods, both asynchronous and synchronous, take an optional CancellationToken parameter called cancellationToken.
        {
            BlobChangeFeedPageable pageable = new BlobChangeFeedPageable(
                _blobServiceClient,
                _changeFeedOptions?.MaximumTransferSize,
                continuationToken);

            return(pageable);
        }
예제 #3
0
        /// <summary>
        /// GetChanges.
        /// </summary>
        /// <param name="start"></param>
        /// <param name="end"></param>
        /// <returns><see cref="BlobChangeFeedPageable"/>.</returns>
#pragma warning disable AZC0002 // DO ensure all service methods, both asynchronous and synchronous, take an optional CancellationToken parameter called cancellationToken.
        public virtual Pageable <BlobChangeFeedEvent> GetChanges(DateTimeOffset?start = default, DateTimeOffset?end = default)
#pragma warning restore AZC0002 // DO ensure all service methods, both asynchronous and synchronous, take an optional CancellationToken parameter called cancellationToken.
        {
            BlobChangeFeedPageable pageable = new BlobChangeFeedPageable(
                _blobServiceClient,
                _changeFeedOptions?.MaximumTransferSize,
                start,
                end);

            return(pageable);
        }