diff Implab.ServiceHost/Unity/TypeRegistrationBuilder.cs @ 279:8714471e8d78 v3

Container configuration cleanup, RC2
author cin
date Fri, 04 May 2018 18:12:42 +0300
parents 6691aff01de1
children
line wrap: on
line diff
--- a/Implab.ServiceHost/Unity/TypeRegistrationBuilder.cs	Thu May 03 09:59:44 2018 +0300
+++ b/Implab.ServiceHost/Unity/TypeRegistrationBuilder.cs	Fri May 04 18:12:42 2018 +0300
@@ -71,5 +71,11 @@
             var injection = new InjectionProperty(propertyInjection.Name, valueContext.Injection);
             m_injections.Add(injection);
         }
+
+        public void AddInjectionMember(InjectionMember injection) {
+            Safe.ArgumentNotNull(injection, nameof(injection));
+
+            m_injections.Add(injection);
+        }
     }
 }
\ No newline at end of file