Mercurial > pub > ImplabNet
annotate Implab.ServiceHost/Unity/IncludeElement.cs @ 281:e0916ddc9950 v3 tip
code cleanup and refactoring
author | cin |
---|---|
date | Fri, 01 Jun 2018 21:35:24 +0300 |
parents | 6691aff01de1 |
children |
rev | line source |
---|---|
269 | 1 using System.Xml.Serialization; |
2 | |
3 namespace Implab.ServiceHost.Unity { | |
4 [XmlRoot("include", Namespace = Schema.ContainerConfigurationNamespace)] | |
277 | 5 public class IncludeElement : AbstractContainerItem { |
269 | 6 [XmlAttribute("href")] |
7 public string Href { get; set; } | |
8 | |
278
6691aff01de1
Implab: added XmlDefaultSeializer (SerializersPool is now obsolete)
cin
parents:
277
diff
changeset
|
9 public override void Visit(ContainerBuilder builder) { |
6691aff01de1
Implab: added XmlDefaultSeializer (SerializersPool is now obsolete)
cin
parents:
277
diff
changeset
|
10 builder.Include(Href); |
269 | 11 } |
12 } | |
13 } |