view Implab.ServiceHost/Unity/ContainerLifetimeElement.cs @ 273:79110a16cab7 v3

Working on Unity xml configuration: Refactoring in progress
author cin
date Thu, 26 Apr 2018 19:35:01 +0300
parents ff581cff7003
children 22629bf26121
line wrap: on
line source

using Unity.Lifetime;

namespace Implab.ServiceHost.Unity
{
    public class ContainerLifetimeElement : LifetimeElement {
        public override LifetimeManager GetLifetimeManager(ContainerContext ctx) {
            return new ContainerControlledLifetimeManager();
        }
    }
}