annotate Implab.ServiceHost/Unity/HierarchicalLifetimeElement.cs @ 280:f07be402ab02 v3

Added Trace<T>.Debug(...) method for debug messages Added ContainerBuilde.LoadConfig(Uri) method
author cin
date Fri, 25 May 2018 19:15:26 +0300
parents 8714471e8d78
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 HierarchicalLifetimeElement : 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 HierarchicalLifetimeManager();
269
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 }