annotate Implab.ServiceHost/Unity/AssemblyElement.cs @ 271:d4d437ec4483 v3

Working on Unity xml configuration
author cin
date Wed, 25 Apr 2018 19:23:35 +0300
parents ade80d94dfb5
children 79110a16cab7
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 {
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
5 [XmlRoot("assembly", Namespace = Schema.ContainerConfigurationNamespace)]
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
6 public class AssemblyElement : IConfigurationElement {
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
7 [XmlAttribute("name")]
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
8 public string AssemblyName { get; set; }
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
9
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
10 public void Visit(ConfigurationContext context) {
270
ade80d94dfb5 Working on Unity container xml configuration
cin
parents: 269
diff changeset
11 context.Visit(this);
269
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
12 }
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
13 }
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
14 }