C# Class BitSharper.Threading.ContextCopyingRunnable

An implementation of IRunnable that restores the context before it is run.
Inheritance: Runnable, IContextCopyingTask
Datei anzeigen Open project: TangibleCryptography/BitSharper

Public Methods

Method Description
ContextCopyingRunnable ( IRunnable runnable, IContextCarrier contextCarrier ) : System
Run ( ) : void

Private Methods

Method Description
ExtractAction ( IRunnable runnable ) : System.Action

Method Details

ContextCopyingRunnable() public method

public ContextCopyingRunnable ( IRunnable runnable, IContextCarrier contextCarrier ) : System
runnable IRunnable
contextCarrier IContextCarrier
return System

Run() public method

public Run ( ) : void
return void