using Unity.Lifetime; namespace Implab.ServiceHost.Unity { public class ContextLifetimeElement : LifetimeElement { public override LifetimeManager GetLifetime(ContainerBuilder builder) { return new PerResolveLifetimeManager(); } } }