C# 클래스 NStub.Gui.Util.ThreadingExtensions

Extension methods for control thread handling.
파일 보기 프로젝트 열기: Jedzia/NStub

공개 메소드들

메소드 설명
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