Class DeploymentProgressInfo
Storage class for deployment progression.
Inheritance
System.Object
DeploymentProgressInfo
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Phoenix.Applications.Deployment
Assembly: Phoenix.Abstractions.Applications.dll
Syntax
public class DeploymentProgressInfo
Constructors
View SourceDeploymentProgressInfo(Double)
Initializes a new instance of the DeploymentProgressInfo class.
Declaration
public DeploymentProgressInfo(double percentage)
Parameters
Type | Name | Description |
---|---|---|
System.Double | percentage | The percentage progress (0-1) |
DeploymentProgressInfo(Double, UInt64, UInt64)
Initializes a new instance of the DeploymentProgressInfo class.
Declaration
public DeploymentProgressInfo(double percentage, ulong bytesTransferred, ulong bytesTotal)
Parameters
Type | Name | Description |
---|---|---|
System.Double | percentage | The percentage progress (0-1) |
System.UInt64 | bytesTransferred | The number of bytes transferred |
System.UInt64 | bytesTotal | The total number of bytes to transfer |
Properties
View SourceBytesTotal
Gets the total number of bytes that will be transferred or processed.
Declaration
public ulong? BytesTotal { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.UInt64> |
BytesTransferred
Gets the current amount of bytes that have been transferred or processed.
Declaration
public ulong? BytesTransferred { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.UInt64> |
Percentage
Gets the percentage of completion.
Declaration
public double Percentage { get; }
Property Value
Type | Description |
---|---|
System.Double |