NamespaceElement.cs
14 lines
| 403 B
| text/x-csharp
|
CSharpLexer
|
|
r289 | using System.Xml.Serialization; | |
| namespace Implab.ServiceHost.Unity | |||
| { | |||
| [XmlRoot("namespace", Namespace = Schema.ContainerConfigurationNamespace)] | |||
| public class NamespaceElement : AbstractContainerItem { | |||
| [XmlAttribute("name")] | |||
| public string Name { get; set; } | |||
| public override void Visit(ContainerBuilder builder) { | |||
| builder.AddNamespace(Name); | |||
| } | |||
| } | |||
| } |
