示例#1
0
        public Sample()
        {
            //Run once
            Setup();

            HandlerCentral.Process(new TestObject());
        }
示例#2
0
 public void Setup()
 {
     ObjectFactory.Configure(x => x.Scan(y => y.AssemblyContainingType <FakeLogger>()));
     ObjectFactory.Configure(x => x.For <HandlerModule <TestObject> >().Use <TestObjectHandlerModule>());
     HandlerCentral.AddProcessBehaviors <TimerProcessBehvior>();
 }