/// <summary> /// Creates a new instance of the <see cref="BlobBatch"/> class. /// </summary> /// <param name="client"> /// The <see cref="BlobBatchClient"/> associated with this batch. /// </param> public BlobBatch(BlobBatchClient client) =>
/// <summary> /// Verify whether the <paramref name="client"/> is the batch client /// associated with this batch. /// </summary> /// <param name="client">The BlobBatchClient to check.</param> internal bool IsAssociatedClient(BlobBatchClient client) => _client == client;
/// <summary> /// Creates a new instance of the <see cref="BlobBatch"/> class. /// </summary> /// <param name="client"> /// The <see cref="BlobBatchClient"/> associated with this batch. /// </param> public BlobBatch(BlobBatchClient client) { _client = client ?? throw new ArgumentNullException(nameof(client)); _isContainerScoped = client.IsContainerScoped; }