C# 클래스 Catel.Services.IDispatcherServiceExtensions

Extension methods for the IDispatcherService.
파일 보기 프로젝트 열기: Catel/Catel

공개 메소드들

메소드 설명
BeginInvoke ( this dispatcherService, System.Action action ) : void

Executes the specified action asynchronously with the specified arguments on the thread that the Dispatcher was created on.

BeginInvoke ( this dispatcherService, Delegate method ) : void

Executes the specified delegate asynchronously with the specified arguments on the thread that the Dispatcher was created on.

BeginInvokeIfRequired ( this dispatcherService, System.Action action ) : void

Executes the specified action asynchronously with the specified arguments on the thread that the Dispatcher was created on if required. To check whether this is necessary, it will check whether the current thread has access to the dispatcher.

BeginInvokeIfRequired ( this dispatcherService, Delegate method ) : void

Executes the specified delegate asynchronously with the specified arguments on the thread that the Dispatcher was created on if required. To check whether this is necessary, it will check whether the current thread has access to the dispatcher.

Invoke ( this dispatcherService, Delegate method ) : void

Executes the specified delegate with the specified arguments synchronously on the thread the Dispatcher is associated with.

InvokeIfRequired ( this dispatcherService, System.Action action ) : void

Executes the specified action asynchronously with the specified arguments on the thread that the Dispatcher was created on if required. To check whether this is necessary, it will check whether the current thread has access to the dispatcher.

InvokeIfRequired ( this dispatcherService, Delegate method ) : void

Executes the specified delegate asynchronously with the specified arguments on the thread that the Dispatcher was created on if required. To check whether this is necessary, it will check whether the current thread has access to the dispatcher.

메소드 상세

BeginInvoke() 공개 정적인 메소드

Executes the specified action asynchronously with the specified arguments on the thread that the Dispatcher was created on.
The is null.
public static BeginInvoke ( this dispatcherService, System.Action action ) : void
dispatcherService this The dispatcher service.
action System.Action The action.
리턴 void

BeginInvoke() 공개 정적인 메소드

Executes the specified delegate asynchronously with the specified arguments on the thread that the Dispatcher was created on.
The is null.
public static BeginInvoke ( this dispatcherService, Delegate method ) : void
dispatcherService this The dispatcher service.
method System.Delegate A delegate to a method that takes parameters specified in args, which is pushed onto the Dispatcher event queue.
리턴 void

BeginInvokeIfRequired() 공개 정적인 메소드

Executes the specified action asynchronously with the specified arguments on the thread that the Dispatcher was created on if required. To check whether this is necessary, it will check whether the current thread has access to the dispatcher.
The is null.
public static BeginInvokeIfRequired ( this dispatcherService, System.Action action ) : void
dispatcherService this The dispatcher service.
action System.Action The action.
리턴 void

BeginInvokeIfRequired() 공개 정적인 메소드

Executes the specified delegate asynchronously with the specified arguments on the thread that the Dispatcher was created on if required. To check whether this is necessary, it will check whether the current thread has access to the dispatcher.
The is null.
public static BeginInvokeIfRequired ( this dispatcherService, Delegate method ) : void
dispatcherService this The dispatcher service.
method System.Delegate A delegate to a method that takes parameters specified in args, which is pushed onto the Dispatcher event queue.
리턴 void

Invoke() 공개 정적인 메소드

Executes the specified delegate with the specified arguments synchronously on the thread the Dispatcher is associated with.
The is null.
public static Invoke ( this dispatcherService, Delegate method ) : void
dispatcherService this The dispatcher service.
method System.Delegate A delegate to a method that takes parameters specified in args, which is pushed onto the Dispatcher event queue.
리턴 void

InvokeIfRequired() 공개 정적인 메소드

Executes the specified action asynchronously with the specified arguments on the thread that the Dispatcher was created on if required. To check whether this is necessary, it will check whether the current thread has access to the dispatcher.
The is null.
public static InvokeIfRequired ( this dispatcherService, System.Action action ) : void
dispatcherService this The dispatcher service.
action System.Action The action.
리턴 void

InvokeIfRequired() 공개 정적인 메소드

Executes the specified delegate asynchronously with the specified arguments on the thread that the Dispatcher was created on if required. To check whether this is necessary, it will check whether the current thread has access to the dispatcher.
The is null.
public static InvokeIfRequired ( this dispatcherService, Delegate method ) : void
dispatcherService this The dispatcher service.
method System.Delegate A delegate to a method that takes parameters specified in args, which is pushed onto the Dispatcher event queue.
리턴 void