annotate Implab.ServiceHost/Unity/AssemblyElement.cs @ 277:963b17c275be v3

Refactoring Added <array> element to injection parameters Working on registrations of factories
author cin
date Sat, 28 Apr 2018 18:48:09 +0300
parents 22629bf26121
children 6691aff01de1
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)]
277
963b17c275be Refactoring
cin
parents: 274
diff changeset
6 public class AssemblyElement : AbstractContainerItem {
269
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
277
963b17c275be Refactoring
cin
parents: 274
diff changeset
10 public override void Visit(ContainerBuilder builder) {
963b17c275be Refactoring
cin
parents: 274
diff changeset
11 builder.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 }