Skip to the content.

PromptPlus API:EventWaitProcess

Build Publish License NuGet Downloads

Back to List Api

EventWaitProcess<T>

Namespace: PPlus.Controls

Represents the event to task process with with conex value

public class EventWaitProcess<T> : System.IDisposable

Type Parameters

T
Typeof Input

Inheritance ObjectEventWaitProcess<T>
Implements IDisposable

Properties

CancelAllTasks

Get/Set Cancel all ran tasks.

public bool CancelAllTasks { get; set; }

Property Value

Boolean

Methods

ChangeContext(Action<T>)

Change value Context.
The change will only be executed if the Context exists(not null).

public void ChangeContext(Action<T> action)

Parameters

action Action<T>
The action to change value.
The action will only be executed if the Context exists(not null).

Dispose()

Dispose

public void Dispose()

Dispose(Boolean)

Dispose

protected internal void Dispose(bool disposing)

Parameters

disposing Boolean
if disposing


Back to List Api