IncludeElement.cs
12 lines
| 393 B
| text/x-csharp
|
CSharpLexer
|
|
r289 | using System.Xml.Serialization; | |
| namespace Implab.ServiceHost.Unity { | |||
| [XmlRoot("include", Namespace = Schema.ContainerConfigurationNamespace)] | |||
| public class IncludeElement : AbstractContainerItem { | |||
| [XmlAttribute("href")] | |||
| public string Href { get; set; } | |||
| public override void Visit(ContainerBuilder builder) { | |||
| builder.Include(Href); | |||
| } | |||
| } | |||
| } |
