Struct BOBChunkedUploadProgress
- Namespace
- BlazOrbit.Components.Forms
- Assembly
- BlazOrbit.dll
Progress snapshot reported via Progress after each successfully delivered chunk.
public readonly struct BOBChunkedUploadProgress
Constructors
BOBChunkedUploadProgress(string, long, long, int, int)
Progress snapshot reported via Progress after each successfully delivered chunk.
public BOBChunkedUploadProgress(string FileName, long BytesSent, long FileSize, int ChunkIndex, int TotalChunks)
Parameters
FileNamestringThe originating file's display name.
BytesSentlongCumulative bytes delivered so far.
FileSizelongTotal size of the originating file in bytes.
ChunkIndexintIndex of the most recently delivered chunk.
TotalChunksintTotal chunks the uploader will emit for this file.
Properties
BytesSent
Cumulative bytes delivered so far.
public long BytesSent { get; init; }
Property Value
- long
ChunkIndex
Index of the most recently delivered chunk.
public int ChunkIndex { get; init; }
Property Value
- int
FileName
The originating file's display name.
public string FileName { get; init; }
Property Value
- string
FileSize
Total size of the originating file in bytes.
public long FileSize { get; init; }
Property Value
- long
TotalChunks
Total chunks the uploader will emit for this file.
public int TotalChunks { get; init; }
Property Value
- int