C# Class Paralect.ServiceBus.Dispatching2.HandlerRegistry

Inheritance: IHandlerRegistry
Afficher le fichier Open project: paralect/Paralect.ServiceBus

Méthodes publiques

Méthode Description
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

Method Details

GetHandlers() public méthode

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
Résultat IHandler[]

HandlerRegistry() public méthode

Creates HandlerRegistry with specified lookup dictionary
public HandlerRegistry ( List handlers ) : System
handlers List
Résultat System

IsMatch() public méthode

public IsMatch ( Type messageType, IEnumerable handlerSubscriptions ) : bool
messageType System.Type
handlerSubscriptions IEnumerable
Résultat bool