annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
278
6691aff01de1 Implab: added XmlDefaultSeializer (SerializersPool is now obsolete)
cin
parents:
diff changeset
1 using System.Xml.Serialization;
6691aff01de1 Implab: added XmlDefaultSeializer (SerializersPool is now obsolete)
cin
parents:
diff changeset
2
6691aff01de1 Implab: added XmlDefaultSeializer (SerializersPool is now obsolete)
cin
parents:
diff changeset
3 namespace Implab.ServiceHost.Unity {
6691aff01de1 Implab: added XmlDefaultSeializer (SerializersPool is now obsolete)
cin
parents:
diff changeset
4 public class ProvidesElement {
6691aff01de1 Implab: added XmlDefaultSeializer (SerializersPool is now obsolete)
cin
parents:
diff changeset
5 [XmlAttribute("type")]
6691aff01de1 Implab: added XmlDefaultSeializer (SerializersPool is now obsolete)
cin
parents:
diff changeset
6 public string RegistrationType { get; set; }
6691aff01de1 Implab: added XmlDefaultSeializer (SerializersPool is now obsolete)
cin
parents:
diff changeset
7
6691aff01de1 Implab: added XmlDefaultSeializer (SerializersPool is now obsolete)
cin
parents:
diff changeset
8 [XmlAttribute("name")]
6691aff01de1 Implab: added XmlDefaultSeializer (SerializersPool is now obsolete)
cin
parents:
diff changeset
9 public string RegistrationName { get; set; }
281
e0916ddc9950 code cleanup and refactoring
cin
parents: 278
diff changeset
10
e0916ddc9950 code cleanup and refactoring
cin
parents: 278
diff changeset
11 [XmlElement("signleton", typeof(SingletonLifetimeElement))]
e0916ddc9950 code cleanup and refactoring
cin
parents: 278
diff changeset
12 [XmlElement("context", typeof(ContextLifetimeElement))]
e0916ddc9950 code cleanup and refactoring
cin
parents: 278
diff changeset
13 [XmlElement("container", typeof(ContainerLifetimeElement))]
e0916ddc9950 code cleanup and refactoring
cin
parents: 278
diff changeset
14 [XmlElement("hierarchy", typeof(HierarchicalLifetimeElement))]
e0916ddc9950 code cleanup and refactoring
cin
parents: 278
diff changeset
15 public LifetimeElement Lifetime {get; set;}
278
6691aff01de1 Implab: added XmlDefaultSeializer (SerializersPool is now obsolete)
cin
parents:
diff changeset
16 }
6691aff01de1 Implab: added XmlDefaultSeializer (SerializersPool is now obsolete)
cin
parents:
diff changeset
17 }