diff Implab.ServiceHost/Unity/LifetimeElement.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/LifetimeElement.cs	Thu May 03 09:59:44 2018 +0300
+++ b/Implab.ServiceHost/Unity/LifetimeElement.cs	Fri May 04 18:12:42 2018 +0300
@@ -1,5 +1,7 @@
+using Unity.Lifetime;
+
 namespace Implab.ServiceHost.Unity {
     public abstract class LifetimeElement {
-        public abstract void Visit(RegistrationBuilder builder);
+        public abstract LifetimeManager GetLifetime(ContainerBuilder builder);
     }
 }
\ No newline at end of file