C# 클래스 NServiceBus.Unicast.MessageHandlerRegistry

Maintains the message handlers for this endpoint.
파일 보기 프로젝트 열기: Particular/NServiceBus 1 사용 예제들

공개 메소드들

메소드 설명
Clear ( ) : void

Clears the cache.

GetHandlersFor ( Type messageType ) : List

Gets the list of handlers Types for the given messageType.

GetMessageTypes ( ) : IEnumerable

Lists all message type for which we have handlers.

This method should not be called on a hot path.

RegisterHandler ( Type handlerType ) : void

Registers the given potential handler type.

비공개 메소드들

메소드 설명
CacheHandlerMethods ( Type handler, Type messageType, ICollection typeList ) : void
CacheMethod ( Type handler, Type messageType, Type interfaceGenericType, ICollection methodList, bool isTimeoutHandler ) : void
GetMessageTypesBeingHandledBy ( Type type ) : System.Type[]
GetMethod ( Type targetType, Type messageType, Type interfaceGenericType ) : Func
MessageHandlerRegistry ( Conventions conventions ) : System
ValidateHandlerType ( Type handlerType ) : void

메소드 상세

Clear() 공개 메소드

Clears the cache.
public Clear ( ) : void
리턴 void

GetHandlersFor() 공개 메소드

Gets the list of handlers Types for the given messageType.
public GetHandlersFor ( Type messageType ) : List
messageType System.Type
리턴 List

GetMessageTypes() 공개 메소드

Lists all message type for which we have handlers.
This method should not be called on a hot path.
public GetMessageTypes ( ) : IEnumerable
리턴 IEnumerable

RegisterHandler() 공개 메소드

Registers the given potential handler type.
public RegisterHandler ( Type handlerType ) : void
handlerType System.Type
리턴 void