<PackageReference Include="Azure.Storage.Blobs" Version="12.23.0" />

AggregatingProgressIncrementer

An accumulator for request and response data transfers.
public static AggregatingProgressIncrementer None { get; }

Returns an instance that no-ops accumulation.

public long Current { get; }

Returns a long instance representing the current progress value.

public AggregatingProgressIncrementer(IProgress<long> innerHandler)

public void Report(long bytes)

Increments the current value and reports it to the progress handler

public void Reset()

Zeroes out the current accumulation, and reports it to the progress handler