using System;
using System.Xml.Serialization;
namespace Implab.ServiceHost.Unity {
[XmlRoot("register", Namespace = Schema.ContainerConfigurationNamespace)]
public class ServiceElement {
///
/// An optional name for a registration in the container
///
[XmlAttribute("name")]
public string Name { get; set; }
///
/// An optional type specification for the service registration,
/// must be assignable from the type specified by
///
[XmlAttribute("provides")]
public string ProvidesType { get; set; }
///
/// The type which is registered as a service in the container.
///
[XmlAttribute("type")]
public string ImplementedType { get; set; }
}
}