private void ConfigureIoC() { //Needs the aspects configured before the application context iocContainer.ConfigureAspects(aspects); //Then, we configure the object factory var configurableObjectFactory = iocContainer.GetObjectFactory(); ObjectFactory = configurableObjectFactory; configurableObjectFactory.Configure(lemmings, staticInjections); }