C# Class ThreadedMethod, whatsapp-desktop-client

Makes starting a method in a seperated thread just a little bit easier.
Datei anzeigen Open project: sambulosenda/whatsapp-desktop-client Class Usage Examples

Public Methods

Method Description
Start ( ) : void

Starts the method in a new thread.

ThreadedMethod ( ParameterizedThreadStart, _pStart ) : System

Class constructor if you want to start a method with parameters.

ThreadedMethod ( ThreadStart, _tStart ) : System

Class constructor if you want to start a method without parameters.

Method Details

Start() public method

Starts the method in a new thread.
public Start ( ) : void
return void

ThreadedMethod() public method

Class constructor if you want to start a method with parameters.
public ThreadedMethod ( ParameterizedThreadStart, _pStart ) : System
_pStart ParameterizedThreadStart, The name of the method, all parameters are object. See MSDN documentation on ParameterizedThreadStart.
return System

ThreadedMethod() public method

Class constructor if you want to start a method without parameters.
public ThreadedMethod ( ThreadStart, _tStart ) : System
_tStart ThreadStart, The name of the method that needs to be started in a seperated thread.
return System