Mercurial > pub > ImplabNet
annotate Implab.ServiceHost/Unity/AssemblyElement.cs @ 278:6691aff01de1 v3
Implab: added XmlDefaultSeializer (SerializersPool is now obsolete)
Implab.ServiceHost: rewritten TypeReference (added support for nested types), stable API
author | cin |
---|---|
date | Thu, 03 May 2018 09:59:44 +0300 |
parents | 963b17c275be |
children |
rev | line source |
---|---|
269 | 1 using System.Xml.Serialization; |
2 | |
3 namespace Implab.ServiceHost.Unity | |
4 { | |
5 [XmlRoot("assembly", Namespace = Schema.ContainerConfigurationNamespace)] | |
277 | 6 public class AssemblyElement : AbstractContainerItem { |
269 | 7 [XmlAttribute("name")] |
8 public string AssemblyName { get; set; } | |
9 | |
277 | 10 public override void Visit(ContainerBuilder builder) { |
278
6691aff01de1
Implab: added XmlDefaultSeializer (SerializersPool is now obsolete)
cin
parents:
277
diff
changeset
|
11 builder.AddAssembly(AssemblyName); |
269 | 12 } |
13 } | |
14 } |