##// END OF EJS Templates
Working on Implab.Diagnostics
Working on Implab.Diagnostics

File last commit:

r281:e0916ddc9950 v3
r286:67ebcfd7d1c8 v3
Show More
ProvidesElement.cs
16 lines | 605 B | text/x-csharp | CSharpLexer
using System.Xml.Serialization;
namespace Implab.ServiceHost.Unity {
public class ProvidesElement {
[XmlAttribute("type")]
public string RegistrationType { get; set; }
[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;}
}
}