C# 클래스 Rubberduck.UI.Command.MenuItems.UiDispatcher

파일 보기 프로젝트 열기: retailcoder/Rubberduck 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CheckInitialization void

공개 메소드들

메소드 설명
Initialize ( ) : void
Invoke ( System.Action action ) : void

Executes an action on the UI thread. If this method is called from the UI thread, the action is executed immendiately. If the method is called from another thread, the action will be enqueued on the UI thread's dispatcher and executed asynchronously.

For additional operations on the UI thread, you can get a reference to the UI thread's context thanks to the property UiContext

.

InvokeAsync ( System.Action action ) : void

Invokes an action asynchronously on the UI thread.

비공개 메소드들

메소드 설명
CheckInitialization ( ) : void

메소드 상세

Initialize() 공개 정적인 메소드

public static Initialize ( ) : void
리턴 void

Invoke() 공개 정적인 메소드

Executes an action on the UI thread. If this method is called from the UI thread, the action is executed immendiately. If the method is called from another thread, the action will be enqueued on the UI thread's dispatcher and executed asynchronously.

For additional operations on the UI thread, you can get a reference to the UI thread's context thanks to the property UiContext

.
public static Invoke ( System.Action action ) : void
action System.Action The action that will be executed on the UI /// thread.
리턴 void

InvokeAsync() 공개 정적인 메소드

Invokes an action asynchronously on the UI thread.
public static InvokeAsync ( System.Action action ) : void
action System.Action The action that must be executed.
리턴 void