C# Class Prototype.Platform.Dispatching.DispatcherHandlerRegistry

Afficher le fichier Open project: paralect/prototype Class Usage Examples

Méthodes publiques

Méthode Description
AddInterceptor ( Type type ) : void
GetSubscriptions ( Type messageType ) : List
InsureOrderOfHandlers ( ) : void
Register ( Assembly assembly, String namespaces ) : void

Register all handlers in assembly (you can register handlers that optionally belongs to specified namespaces)

SortInPlace ( List list ) : void

Private Methods

Méthode Description
AddSubscription ( Type messageType, Type handlerType, Int32 priority ) : void
BelongToNamespaces ( Type type, String namespaces ) : System.Boolean

Method Details

AddInterceptor() public méthode

public AddInterceptor ( Type type ) : void
type System.Type
Résultat void

GetSubscriptions() public méthode

public GetSubscriptions ( Type messageType ) : List
messageType System.Type
Résultat List

InsureOrderOfHandlers() public méthode

public InsureOrderOfHandlers ( ) : void
Résultat void

Register() public méthode

Register all handlers in assembly (you can register handlers that optionally belongs to specified namespaces)
public Register ( Assembly assembly, String namespaces ) : void
assembly System.Reflection.Assembly
namespaces String
Résultat void

SortInPlace() public méthode

public SortInPlace ( List list ) : void
list List
Résultat void