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
Show file Open project: appccelerate/appccelerate

Public Methods

Method Description
CreateHandler ( Type handlerType ) : IHandler

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

Method Details

CreateHandler() public method

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.
return IHandler