annotate Implab.ServiceHost/Unity/IncludeElement.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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
269
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
1 using System.Xml.Serialization;
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
2
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
3 namespace Implab.ServiceHost.Unity {
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
4 [XmlRoot("include", Namespace = Schema.ContainerConfigurationNamespace)]
277
963b17c275be Refactoring
cin
parents: 274
diff changeset
5 public class IncludeElement : AbstractContainerItem {
269
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
6 [XmlAttribute("href")]
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
7 public string Href { get; set; }
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
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
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
11 }
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
12 }
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
13 }