comparison Implab.ServiceHost/Unity/ProvidesElement.cs @ 281:e0916ddc9950 v3 tip

code cleanup and refactoring
author cin
date Fri, 01 Jun 2018 21:35:24 +0300
parents 6691aff01de1
children
comparison
equal deleted inserted replaced
280:f07be402ab02 281:e0916ddc9950
5 [XmlAttribute("type")] 5 [XmlAttribute("type")]
6 public string RegistrationType { get; set; } 6 public string RegistrationType { get; set; }
7 7
8 [XmlAttribute("name")] 8 [XmlAttribute("name")]
9 public string RegistrationName { get; set; } 9 public string RegistrationName { get; set; }
10
11 [XmlElement("signleton", typeof(SingletonLifetimeElement))]
12 [XmlElement("context", typeof(ContextLifetimeElement))]
13 [XmlElement("container", typeof(ContainerLifetimeElement))]
14 [XmlElement("hierarchy", typeof(HierarchicalLifetimeElement))]
15 public LifetimeElement Lifetime {get; set;}
10 } 16 }
11 } 17 }