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

Unity xml configuration, alpha2
author cin
date Fri, 27 Apr 2018 04:47:52 +0300
parents 79110a16cab7
children 963b17c275be
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 HierarchicalLifetimeElement : LifetimeElement { 5 public class HierarchicalLifetimeElement : LifetimeElement {
6 public override LifetimeManager GetLifetimeManager(ContainerContext ctx) { 6 public override LifetimeManager GetLifetimeManager(ContainerBuilder ctx) {
7 return new HierarchicalLifetimeManager(); 7 return new HierarchicalLifetimeManager();
8 } 8 }
9 } 9 }
10 } 10 }