C# Class Appccelerate.EventBroker.Factories.UnitTestFactory

Factory that creates only handlers that run on the same thread as the publisher. This allows that subscriptions on user interface thread can be used in unit tests (with different threading behavior though)
Inheritance: StandardFactory
Afficher le fichier Open project: appccelerate/appccelerate

Méthodes publiques

Méthode Description
CreateHandler ( Type handlerType ) : IHandler

Creates a subscription handler usable in unit tests (always on publisher thread).

Method Details

CreateHandler() public méthode

Creates a subscription handler usable in unit tests (always on publisher thread).
public CreateHandler ( Type handlerType ) : IHandler
handlerType System.Type Type of the handler to create.
Résultat IHandler