Ejemplo n.º 1
0
 /// <summary>
 /// Creates a new instance of the handler tester.
 /// </summary>
 /// <param name="handler"></param>
 /// <param name="mocks"></param>
 /// <param name="bus"></param>
 /// <param name="messageCreator"></param>
 /// <param name="types"></param>
 public Handler(T handler, StubBus bus, IMessageCreator messageCreator, IEnumerable <Type> types)
 {
     this.handler = handler;
     this.bus     = bus;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates a new instance of the handler tester.
 /// </summary>
 internal Handler(T handler, StubBus bus)
 {
     this.handler = handler;
     this.bus     = bus;
 }
Ejemplo n.º 3
0
        /// <summary>
        /// Creates a new instance of the handler tester.
        /// </summary>
// ReSharper disable UnusedParameter.Local
        public Handler(T handler, StubBus bus, IMessageCreator messageCreator, IEnumerable <Type> types)
// ReSharper restore UnusedParameter.Local
        {
            this.handler = handler;
            this.bus     = bus;
        }