C# 클래스 Paralect.ServiceBus.Dispatching2.HandlerRegistry

상속: IHandlerRegistry
파일 보기 프로젝트 열기: paralect/Paralect.ServiceBus

공개 메소드들

메소드 설명
GetHandlers ( Type messageType ) : IHandler[]

Returns handlers in a correct order. Returns empty array if no handlers found for such message. This method doesn't use reflection.

HandlerRegistry ( List handlers ) : System

Creates HandlerRegistry with specified lookup dictionary

IsMatch ( Type messageType, IEnumerable handlerSubscriptions ) : bool

메소드 상세

GetHandlers() 공개 메소드

Returns handlers in a correct order. Returns empty array if no handlers found for such message. This method doesn't use reflection.
public GetHandlers ( Type messageType ) : IHandler[]
messageType System.Type
리턴 IHandler[]

HandlerRegistry() 공개 메소드

Creates HandlerRegistry with specified lookup dictionary
public HandlerRegistry ( List handlers ) : System
handlers List
리턴 System

IsMatch() 공개 메소드

public IsMatch ( Type messageType, IEnumerable handlerSubscriptions ) : bool
messageType System.Type
handlerSubscriptions IEnumerable
리턴 bool