annotate Implab.ServiceHost/Unity/ContainerLifetimeElement.cs @ 281:e0916ddc9950
v3 tip
code cleanup and refactoring
author |
cin |
date |
Fri, 01 Jun 2018 21:35:24 +0300 |
parents |
8714471e8d78 |
children |
|
rev |
line source |
269
|
1 using Unity.Lifetime;
|
|
2
|
|
3 namespace Implab.ServiceHost.Unity
|
|
4 {
|
|
5 public class ContainerLifetimeElement : LifetimeElement {
|
279
|
6 public override LifetimeManager GetLifetime(ContainerBuilder builder) {
|
|
7 return new ContainerControlledLifetimeManager();
|
269
|
8 }
|
279
|
9
|
|
10
|
269
|
11 }
|
|
12 } |