view Implab.ServiceHost/Unity/ContextLifetimeElement.cs @ 279:8714471e8d78 v3

Container configuration cleanup, RC2
author cin
date Fri, 04 May 2018 18:12:42 +0300
parents 963b17c275be
children
line wrap: on
line source

using Unity.Lifetime;

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