using Unity.Lifetime; namespace Implab.ServiceHost.Unity { public class SimgletonLifetimeElement : LifetimeElement { public override LifetimeManager GetLifetimeManager(ContainerBuilder ctx) { return new SingletonLifetimeManager(); } } }