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