C# 클래스 Boo.Lang.Runtime.DispatcherCache

파일 보기 프로젝트 열기: boo/boo-lang 1 사용 예제들

공개 메소드들

메소드 설명
Clear ( ) : void

Removes all Dispatchers from the cache.

Get ( DispatcherKey key, DispatcherFactory factory ) : Dispatcher

Gets a dispatcher from the cache if available otherwise invokes factory to produce one and then cache it.

메소드 상세

Clear() 공개 메소드

Removes all Dispatchers from the cache.
public Clear ( ) : void
리턴 void

Get() 공개 메소드

Gets a dispatcher from the cache if available otherwise invokes factory to produce one and then cache it.
public Get ( DispatcherKey key, DispatcherFactory factory ) : Dispatcher
key DispatcherKey the dispatcher key
factory DispatcherFactory function to produce a dispatcher in case one it's not yet available
리턴 Dispatcher