view Implab.ServiceHost/Unity/ContextLifetimeElement.cs @ 271:d4d437ec4483 v3

Working on Unity xml configuration
author cin
date Wed, 25 Apr 2018 19:23:35 +0300
parents ff581cff7003
children 79110a16cab7
line wrap: on
line source

using Unity.Lifetime;

namespace Implab.ServiceHost.Unity
{
    public class ContextLifetimeElement : LifetimeElement {
        public override LifetimeManager GetLifetimeManager(ConfigurationContext ctx) {
            return new PerResolveLifetimeManager();
        }
    }
}