Mercurial > pub > ImplabNet
annotate Implab.ServiceHost/Unity/NamespaceElement.cs @ 280:f07be402ab02 v3
Added Trace<T>.Debug(...) method for debug messages
Added ContainerBuilde.LoadConfig(Uri) method
author | cin |
---|---|
date | Fri, 25 May 2018 19:15:26 +0300 |
parents | 6691aff01de1 |
children |
rev | line source |
---|---|
269 | 1 using System.Xml.Serialization; |
2 | |
3 namespace Implab.ServiceHost.Unity | |
4 { | |
5 [XmlRoot("namespace", Namespace = Schema.ContainerConfigurationNamespace)] | |
277 | 6 public class NamespaceElement : AbstractContainerItem { |
269 | 7 |
8 [XmlAttribute("name")] | |
9 public string Name { get; set; } | |
10 | |
278
6691aff01de1
Implab: added XmlDefaultSeializer (SerializersPool is now obsolete)
cin
parents:
277
diff
changeset
|
11 public override void Visit(ContainerBuilder builder) { |
6691aff01de1
Implab: added XmlDefaultSeializer (SerializersPool is now obsolete)
cin
parents:
277
diff
changeset
|
12 builder.AddNamespace(Name); |
269 | 13 } |
14 } | |
15 } |