C# Class GSF.Threading.WorkerThreadSynchronization.CallbackRequest

A callback request. Cancel this request when the callback is no longer needed.
Inheritance: IDisposable
Mostrar archivo Open project: GridProtectionAlliance/openHistorian

Public Methods

Method Description
CallbackRequest ( System.Action callback ) : System

Creates a callback request.

Cancel ( ) : void

Cancels the callback.

Dispose ( ) : void

Disposes of the callback

Run ( ) : void

Executes the callback item

Method Details

CallbackRequest() public method

Creates a callback request.
public CallbackRequest ( System.Action callback ) : System
callback System.Action the action to perform.
return System

Cancel() public method

Cancels the callback.
public Cancel ( ) : void
return void

Dispose() public method

Disposes of the callback
public Dispose ( ) : void
return void

Run() public method

Executes the callback item
public Run ( ) : void
return void