public HierarchicalLifetimeManagerTest() { container = new FsContainer(); container.For <ILogger>().Use <Logger>(new HierarchicalLifetimeManager()); child = container.CreateChildContainer(); nestedChild = container.CreateChildContainer(); }
public FsContainerBenchmark() { container.For <ISingleton>().Use <Singleton>(new ContainerControlledLifetimeManager()); container.For <ITransient>().Use <Transient>(new TransientLifetimeManager()); container.For <ICombined>().Use <Combined>(new TransientLifetimeManager()); }