C# Class NStub.Gui.Util.ThreadingExtensions

Extension methods for control thread handling.
Afficher le fichier Open project: Jedzia/NStub

Méthodes publiques

Méthode Description
InvokeIfRequired ( this control, System.Action methodcall ) : void

Invokes a method on a control if required. With null and dispose check.

Simple helper extension method to marshal to correct thread if its required.

This also checks the control for null and disposed.
IvReq ( this control, System.Action methodcall ) : void

Invokes a method on a control if required. With no null and dispose check.

Simple helper extension method to marshal to correct thread if its required.

Method Details

InvokeIfRequired() public static méthode

Invokes a method on a control if required. With null and dispose check.

Simple helper extension method to marshal to correct thread if its required.

This also checks the control for null and disposed.
public static InvokeIfRequired ( this control, System.Action methodcall ) : void
control this The source control.
methodcall System.Action The method to call.
Résultat void

IvReq() public static méthode

Invokes a method on a control if required. With no null and dispose check.

Simple helper extension method to marshal to correct thread if its required.

public static IvReq ( this control, System.Action methodcall ) : void
control this The source control.
methodcall System.Action The method to call.
Résultat void