Ejemplo n.º 1
0
        public IEnumerable<ITestHarnessBusFactory> GetBusFactories()
        {
            // Filter types we care about to only our own test's namespace. It's a performance optimisation because creating and
            // deleting queues and topics is slow.
            var typeProvider = new TestHarnessTypeProvider(new[] {_testFixtureType.Assembly}, new[] {_testFixtureType.Namespace});

            yield return new DefaultBusFactory(typeProvider);
        }
Ejemplo n.º 2
0
 public DefaultBusFactory(TestHarnessTypeProvider typeProvider)
 {
     _typeProvider = typeProvider;
 }