Skip to the content.

PromptPlus API:ResultProgessBar

Build Publish License NuGet Downloads

Back to List Api

ResultProgessBar<T>

Namespace: PPlus.Controls

Represents The Result to ProgessBar Controls

public struct ResultProgessBar<T>

Type Parameters

T
Typeof return

Inheritance ObjectValueTypeResultProgessBar<T>

Properties

Context

Get conext value

public T Context { get; }

Property Value

T

Lastvalue

Get last value progress

public double Lastvalue { get; }

Property Value

Double

Constructors

ResultProgessBar()

Create a ResultProgessBar

ResultProgessBar()

Remarks:

Do not use this constructor!

ResultProgessBar(T, Double)

Create a ResultProgessBar.Purpose only for unit testing

ResultProgessBar(T conext, double lastvalue)

Parameters

conext T
The value context

lastvalue Double
The last value of bar


Back to List Api