private static void ConfigureTypesForTestAttribute() { var testSetting = new TestImplementation(); ObjectFactory.Configure(x => x.For <IShouldBeInjectedSetting>().Use(testSetting)); var notASetting = new ShouldNotBeInjectedSetting(); ObjectFactory.Configure(x => x.For <IShouldNotBeInjectedSetting>().Use(notASetting)); }
private static void ConfigureTypesForTestAttribute() { var testSetting = new TestImplementation(); ObjectFactory.Configure(x => x.For<IShouldBeInjectedSetting>().Use(testSetting)); var notASetting = new ShouldNotBeInjectedSetting(); ObjectFactory.Configure(x => x.For<IShouldNotBeInjectedSetting>().Use(notASetting)); }