Class StreamProgress
The upload progress.
Namespace: Artemis.UI.Shared.Utilities
Assembly: Artemis.UI.Shared.dll
Syntax
public class StreamProgress
Constructors
StreamProgress(long, long?)
Initializes a new instance of the StreamProgress class.
Declaration
public StreamProgress(long bytesTransfered, long? totalBytes)
Parameters
Type | Name | Description |
---|---|---|
long | bytesTransfered | The bytes transfered. |
long? | totalBytes | The total bytes. |
Properties
BytesTransfered
Gets the bytes transfered.
Declaration
public long BytesTransfered { get; }
Property Value
Type | Description |
---|---|
long |
ProgressPercentage
Gets the progress percentage.
Declaration
public int ProgressPercentage { get; }
Property Value
Type | Description |
---|---|
int |
TotalBytes
Gets the total bytes.
Declaration
public long? TotalBytes { get; }
Property Value
Type | Description |
---|---|
long? |
Methods
ToString()
Returns a string that represents this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents this instance. |