comparison Implab.ServiceHost/Unity/SimgletonLifetimeElement.cs @ 274:22629bf26121 v3

Unity xml configuration, alpha2
author cin
date Fri, 27 Apr 2018 04:47:52 +0300
parents 79110a16cab7
children
comparison
equal deleted inserted replaced
273:79110a16cab7 274:22629bf26121
1 using Unity.Lifetime; 1 using Unity.Lifetime;
2 2
3 namespace Implab.ServiceHost.Unity 3 namespace Implab.ServiceHost.Unity
4 { 4 {
5 public class SimgletonLifetimeElement : LifetimeElement { 5 public class SimgletonLifetimeElement : LifetimeElement {
6 public override LifetimeManager GetLifetimeManager(ContainerContext ctx) { 6 public override LifetimeManager GetLifetimeManager(ContainerBuilder ctx) {
7 return new SingletonLifetimeManager(); 7 return new SingletonLifetimeManager();
8 } 8 }
9 } 9 }
10 } 10 }