Table of Contents

Class GlobalProgressActionArgs

Namespace
Playnite.SDK
Assembly
Playnite.SDK.dll

Represents arguments for global progress action.

public class GlobalProgressActionArgs : ObservableObject, INotifyPropertyChanged
Inheritance
GlobalProgressActionArgs
Implements
Inherited Members

Constructors

GlobalProgressActionArgs(SynchronizationContext, Dispatcher, CancellationToken)

Creates new instance of GlobalProgressActionArgs.

public GlobalProgressActionArgs(SynchronizationContext mainContext, Dispatcher mainDispatcher, CancellationToken cancelToken)

Parameters

mainContext SynchronizationContext
mainDispatcher Dispatcher
cancelToken CancellationToken

Properties

CancelToken

Gets cancelation token source.

public CancellationToken CancelToken { get; }

Property Value

CancellationToken

CurrentProgressValue

Gets or sets currect value represented on progress track.

public double CurrentProgressValue { get; set; }

Property Value

double

IsIndeterminate

Gets or sets progress text.

public bool IsIndeterminate { get; set; }

Property Value

bool

MainContext

Gets synchronization context of main thread.

public SynchronizationContext MainContext { get; }

Property Value

SynchronizationContext

MainDispatcher

Gets dispatcher for main UI thread.

public Dispatcher MainDispatcher { get; }

Property Value

Dispatcher

ProgressMaxValue

Gets or sets maximum value represented on progress track.

public double ProgressMaxValue { get; set; }

Property Value

double

Text

Gets or sets progress text.

public string Text { get; set; }

Property Value

string