annotate Implab.ServiceHost/Unity/ContainerLifetimeElement.cs @ 279:8714471e8d78 v3

Container configuration cleanup, RC2
author cin
date Fri, 04 May 2018 18:12:42 +0300
parents 963b17c275be
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
269
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
1 using Unity.Lifetime;
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
2
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
3 namespace Implab.ServiceHost.Unity
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
4 {
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
5 public class ContainerLifetimeElement : LifetimeElement {
279
8714471e8d78 Container configuration cleanup, RC2
cin
parents: 277
diff changeset
6 public override LifetimeManager GetLifetime(ContainerBuilder builder) {
8714471e8d78 Container configuration cleanup, RC2
cin
parents: 277
diff changeset
7 return new ContainerControlledLifetimeManager();
269
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
8 }
279
8714471e8d78 Container configuration cleanup, RC2
cin
parents: 277
diff changeset
9
8714471e8d78 Container configuration cleanup, RC2
cin
parents: 277
diff changeset
10
269
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
11 }
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
12 }