Example #1
0
        public TinyIoC.TinyIoCContainer New_AutoRegister()
        {
            var retVal = new TinyIoC.TinyIoCContainer();

            retVal.AutoRegister();
            return(retVal);
        }
Example #2
0
        public void SetUp()
        {
            dataWriter = MockRepository.GenerateStub <IDataWriter> ();
            var container = new TinyIoC.TinyIoCContainer();

            container.AutoRegister(t => t.Assembly.FullName.StartsWith("QueueSpy"));
            handler = new BrokerEventHandler(dataWriter, container, new Logger());
        }