示例#1
0
        /// <summary>
        /// Base class for using the Castle Windsor Container.
        /// </summary>
        protected AbstractWindsorAdapter()
        {
            lifeCycleHandler = new ObjectLifeCycler();

            //define the Container that will house all the various components
            Container = DoCreateContainer();
        }
 public void Setup()
 {
     mockLifecycleHandler = new Mock <ILifecycle>();
     objectLifeCycler     = new ObjectLifeCycler();
 }
 public void Setup()
 {
     mockLifecycleHandler = new Mock<ILifecycle>();
     objectLifeCycler = new ObjectLifeCycler();
 }