annotate Implab.ServiceHost/Unity/ContainerLifetimeElement.cs @ 276:b4e0f81c7425 v3

container configuration docs
author cin
date Sat, 28 Apr 2018 00:11:38 +0300
parents 22629bf26121
children 963b17c275be
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 {
274
22629bf26121 Unity xml configuration, alpha2
cin
parents: 273
diff changeset
6 public override LifetimeManager GetLifetimeManager(ContainerBuilder ctx) {
269
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
7 return new ContainerControlledLifetimeManager();
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
8 }
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
9 }
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
10 }