comparison Implab.ServiceHost/Unity/InjectionParameterElement.cs @ 272:9d1cca834b05 v3

preview version of Unity xml configuration
author cin
date Thu, 26 Apr 2018 03:14:54 +0300
parents ade80d94dfb5
children 79110a16cab7
comparison
equal deleted inserted replaced
271:d4d437ec4483 272:9d1cca834b05
1 using System.Xml.Serialization; 1 using System.Xml.Serialization;
2 2
3 namespace Implab.ServiceHost.Unity { 3 namespace Implab.ServiceHost.Unity {
4 public class InjectionParameterElement { 4 public abstract class InjectionParameterElement {
5 5
6 [XmlAttribute("type")] 6 [XmlAttribute("type")]
7 public string TypeName { get; set; } 7 public string TypeName { get; set; }
8
9 internal abstract object Resolve(RegistrationContext context);
8 } 10 }
9 } 11 }