Mercurial > pub > ImplabNet
comparison 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 |
comparison
equal
deleted
inserted
replaced
276:b4e0f81c7425 | 277:963b17c275be |
---|---|
1 using System.Xml.Serialization; | 1 using System.Xml.Serialization; |
2 | 2 |
3 namespace Implab.ServiceHost.Unity | 3 namespace Implab.ServiceHost.Unity |
4 { | 4 { |
5 [XmlRoot("assembly", Namespace = Schema.ContainerConfigurationNamespace)] | 5 [XmlRoot("assembly", Namespace = Schema.ContainerConfigurationNamespace)] |
6 public class AssemblyElement : ContainerItemElement { | 6 public class AssemblyElement : AbstractContainerItem { |
7 [XmlAttribute("name")] | 7 [XmlAttribute("name")] |
8 public string AssemblyName { get; set; } | 8 public string AssemblyName { get; set; } |
9 | 9 |
10 public override void Visit(ContainerBuilder context) { | 10 public override void Visit(ContainerBuilder builder) { |
11 context.Visit(this); | 11 builder.Visit(this); |
12 } | 12 } |
13 } | 13 } |
14 } | 14 } |