comparison Implab.ServiceHost/Unity/RegisterElement.cs @ 270:ade80d94dfb5 v3

Working on Unity container xml configuration
author cin
date Wed, 25 Apr 2018 04:44:40 +0300
parents ff581cff7003
children d4d437ec4483
comparison
equal deleted inserted replaced
269:ff581cff7003 270:ade80d94dfb5
25 [XmlElement("context", typeof(ContextLifetimeElement))] 25 [XmlElement("context", typeof(ContextLifetimeElement))]
26 [XmlElement("container", typeof(ContainerLifetimeElement))] 26 [XmlElement("container", typeof(ContainerLifetimeElement))]
27 [XmlElement("hierarchy", typeof(HierarchicalLifetimeElement))] 27 [XmlElement("hierarchy", typeof(HierarchicalLifetimeElement))]
28 public LifetimeElement Lifetime {get; set;} 28 public LifetimeElement Lifetime {get; set;}
29 29
30 [XmlElement("constructor", typeof(ConstructorInjectorElement))] 30 [XmlElement("constructor", typeof(ConstructorInjectionElement))]
31 [XmlElement("property", typeof(PropertyInjectorElement))] 31 [XmlElement("property", typeof(PropertyInjectionElement))]
32 [XmlElement("method", typeof(MethodInjectorElement))] 32 [XmlElement("method", typeof(MethodInjectionElement))]
33 public AbstractInjectorElement[] Injectors { get; set; } 33 public AbstractInjectionElement[] Injectors { get; set; }
34 } 34 }
35 35
36 } 36 }