C# Класс NStub.Gui.Util.ThreadingExtensions

Extension methods for control thread handling.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

InvokeIfRequired() публичный статический Метод

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.
Результат void

IvReq() публичный статический Метод

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.
Результат void