diff Implab.ServiceHost/Unity/TypeAbstractRegistration.cs @ 277:963b17c275be v3

Refactoring Added <array> element to injection parameters Working on registrations of factories
author cin
date Sat, 28 Apr 2018 18:48:09 +0300
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Implab.ServiceHost/Unity/TypeAbstractRegistration.cs	Sat Apr 28 18:48:09 2018 +0300
@@ -0,0 +1,17 @@
+using System;
+
+namespace Implab.ServiceHost.Unity
+{
+    public abstract class TypeAbstractRegistration : AbstractRegistration {
+
+        public abstract Type GetImplementationType(Func<string,Type> resolver);
+        
+        override public void Visit(ContainerBuilder builder)  {
+            builder.Visit(this);
+        }
+
+        public virtual void Visit(TypeRegistrationBuilder builder) {
+            base.Visit(builder);
+        }
+    }
+}
\ No newline at end of file