annotate Implab.ServiceHost/Unity/IncludeElement.cs @ 273:79110a16cab7 v3

Working on Unity xml configuration: Refactoring in progress
author cin
date Thu, 26 Apr 2018 19:35:01 +0300
parents ade80d94dfb5
children 22629bf26121
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)]
273
79110a16cab7 Working on Unity xml configuration: Refactoring in progress
cin
parents: 270
diff changeset
5 public class IncludeElement : ContainerItemElement {
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
273
79110a16cab7 Working on Unity xml configuration: Refactoring in progress
cin
parents: 270
diff changeset
9 public override void Visit(ContainerContext context) {
270
ade80d94dfb5 Working on Unity container xml configuration
cin
parents: 269
diff changeset
10 context.Visit(this);
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 }