diff 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
line wrap: on
line diff
--- a/Implab.ServiceHost/Unity/ContainerLifetimeElement.cs	Thu May 03 09:59:44 2018 +0300
+++ b/Implab.ServiceHost/Unity/ContainerLifetimeElement.cs	Fri May 04 18:12:42 2018 +0300
@@ -3,8 +3,10 @@
 namespace Implab.ServiceHost.Unity
 {
     public class ContainerLifetimeElement : LifetimeElement {
-        public override void Visit(RegistrationBuilder builder) {
-            builder.Visit(this);
+        public override LifetimeManager GetLifetime(ContainerBuilder builder) {
+            return new ContainerControlledLifetimeManager();
         }
+
+        
     }
 }
\ No newline at end of file