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

Container configuration cleanup, RC2
author cin
date Fri, 04 May 2018 18:12:42 +0300
parents 6691aff01de1
children e0916ddc9950
line wrap: on
line diff
--- a/Implab.ServiceHost/Unity/DependencyParameterElement.cs	Thu May 03 09:59:44 2018 +0300
+++ b/Implab.ServiceHost/Unity/DependencyParameterElement.cs	Fri May 04 18:12:42 2018 +0300
@@ -11,7 +11,7 @@
 
         public override  void Visit(InjectionParameterBuilder builder) {
             var type = builder.ResolveInjectedValueType(TypeName);
-            builder.SetDependencyReference(type, DependencyName, Optional);
+            builder.SetDependency(type, DependencyName, Optional);
         }
     }
 }
\ No newline at end of file