diff 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
line wrap: on
line diff
--- a/Implab.ServiceHost/Unity/ProvidesElement.cs	Fri May 25 19:15:26 2018 +0300
+++ b/Implab.ServiceHost/Unity/ProvidesElement.cs	Fri Jun 01 21:35:24 2018 +0300
@@ -7,5 +7,11 @@
 
         [XmlAttribute("name")]
         public string RegistrationName { get; set; }
+
+        [XmlElement("signleton", typeof(SingletonLifetimeElement))]
+        [XmlElement("context", typeof(ContextLifetimeElement))]
+        [XmlElement("container", typeof(ContainerLifetimeElement))]
+        [XmlElement("hierarchy", typeof(HierarchicalLifetimeElement))]
+        public LifetimeElement Lifetime {get; set;}
     }
 }
\ No newline at end of file