public Sample() { //Run once Setup(); HandlerCentral.Process(new TestObject()); }
public void Setup() { ObjectFactory.Configure(x => x.Scan(y => y.AssemblyContainingType <FakeLogger>())); ObjectFactory.Configure(x => x.For <HandlerModule <TestObject> >().Use <TestObjectHandlerModule>()); HandlerCentral.AddProcessBehaviors <TimerProcessBehvior>(); }