using Unity.Lifetime; namespace Implab.ServiceHost.Unity { public class ContextLifetimeElement : LifetimeElement { public override LifetimeManager GetLifetimeManager(ConfigurationContext ctx) { return new PerResolveLifetimeManager(); } } }