using System; using System.Xml.Serialization; namespace Implab.ServiceHost.Unity { public abstract class InjectionParameterElement { [XmlAttribute("type")] public string TypeName { get; set; } internal abstract object Resolve(InjectionValueContext context); public virtual Type ResolveParameterType(InjectionValueContext context) { return context.ResolveType(TypeName); } } }