diff Implab.ServiceHost/Unity/InjectionParameterElement.cs @ 274:22629bf26121 v3

Unity xml configuration, alpha2
author cin
date Fri, 27 Apr 2018 04:47:52 +0300
parents 79110a16cab7
children 6fefd5811b9b
line wrap: on
line diff
--- a/Implab.ServiceHost/Unity/InjectionParameterElement.cs	Thu Apr 26 19:35:01 2018 +0300
+++ b/Implab.ServiceHost/Unity/InjectionParameterElement.cs	Fri Apr 27 04:47:52 2018 +0300
@@ -7,10 +7,6 @@
         [XmlAttribute("type")]
         public string TypeName { get; set; }
 
-        internal abstract object Resolve(InjectionValueContext context);
-
-        public virtual Type ResolveParameterType(InjectionValueContext context) {
-            return context.ResolveType(TypeName);
-        }
+        internal abstract void Visit(InjectionValueBuilder builder);
     }
 }
\ No newline at end of file