C# Class MGDF.GamesManager.Controls.CrossThreadRunner

Mostrar archivo Open project: mrsharpoblunto/MGDF

Public Methods

Method Description
RunInMTA ( ThreadStart userDelegate ) : void
RunInSTA ( ThreadStart userDelegate ) : void

Private Methods

Method Description
ExceptionWasThrown ( ) : bool
Run ( ThreadStart userDelegate, ApartmentState apartmentState ) : void
ThrowExceptionPreservingStack ( Exception exception ) : void

Method Details

RunInMTA() public method

public RunInMTA ( ThreadStart userDelegate ) : void
userDelegate ThreadStart
return void

RunInSTA() public method

public RunInSTA ( ThreadStart userDelegate ) : void
userDelegate ThreadStart
return void