view Implab.ServiceHost/Unity/SimgletonLifetimeElement.cs @ 272:9d1cca834b05 v3

preview version of Unity xml configuration
author cin
date Thu, 26 Apr 2018 03:14:54 +0300
parents ff581cff7003
children 79110a16cab7
line wrap: on
line source

using Unity.Lifetime;

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