diff Implab.ServiceHost/Unity/InstanceRegistrationBuilder.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 6691aff01de1
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Implab.ServiceHost/Unity/InstanceRegistrationBuilder.cs	Sat Apr 28 18:48:09 2018 +0300
@@ -0,0 +1,13 @@
+using System;
+
+namespace Implab.ServiceHost.Unity
+{
+    public class InstanceRegistrationBuilder : RegistrationBuilder {
+
+        public InjectionValueBuilder ValueBuilder { get; private set; }
+
+        internal InstanceRegistrationBuilder(TypeResolver typeResolver, Type registrationType) : base(registrationType) {
+            ValueBuilder = new InjectionValueBuilder(typeResolver, registrationType);
+        }
+    }
+}
\ No newline at end of file