private void AddTheAutoMockingContainerExtensionToTheContainer(AutoMoqer automoqer, Config config, Mocking mocking) { var container = config.Container; container.RegisterInstance(config); container.RegisterInstance(automoqer); container.RegisterInstance <IoC>(this); container.RegisterInstance <Mocking>(mocking); container.AddNewExtension <AutoMockingContainerExtension>(); }
public void Setup(AutoMoqer autoMoqer, Config config, Mocking mocking) { AddTheAutoMockingContainerExtensionToTheContainer(autoMoqer, config, mocking); RegisterInstance(this); }