Mercurial > pub > ImplabNet
annotate Implab.ServiceHost/Unity/SimgletonLifetimeElement.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 |
rev | line source |
---|---|
269 | 1 using Unity.Lifetime; |
2 | |
3 namespace Implab.ServiceHost.Unity | |
4 { | |
5 public class SimgletonLifetimeElement : LifetimeElement { | |
273
79110a16cab7
Working on Unity xml configuration: Refactoring in progress
cin
parents:
269
diff
changeset
|
6 public override LifetimeManager GetLifetimeManager(ContainerContext ctx) { |
269 | 7 return new SingletonLifetimeManager(); |
8 } | |
9 } | |
10 } |