Mercurial > pub > ImplabNet
comparison Implab.ServiceHost/Unity/ContainerLifetimeElement.cs @ 273:79110a16cab7 v3
Working on Unity xml configuration: Refactoring in progress
author | cin |
---|---|
date | Thu, 26 Apr 2018 19:35:01 +0300 |
parents | ff581cff7003 |
children | 22629bf26121 |
comparison
equal
deleted
inserted
replaced
272:9d1cca834b05 | 273:79110a16cab7 |
---|---|
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 ContainerLifetimeElement : LifetimeElement { | 5 public class ContainerLifetimeElement : LifetimeElement { |
6 public override LifetimeManager GetLifetimeManager(ConfigurationContext ctx) { | 6 public override LifetimeManager GetLifetimeManager(ContainerContext ctx) { |
7 return new ContainerControlledLifetimeManager(); | 7 return new ContainerControlledLifetimeManager(); |
8 } | 8 } |
9 } | 9 } |
10 } | 10 } |