view Implab.ServiceHost/Unity/ContextLifetimeElement.cs @ 281:e0916ddc9950 v3 tip

code cleanup and refactoring
author cin
date Fri, 01 Jun 2018 21:35:24 +0300
parents 8714471e8d78
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();
        }
    }
}