Mercurial > pub > ImplabNet
comparison Implab.ServiceHost/Unity/IncludeElement.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 [XmlRoot("include", Namespace = Schema.ContainerConfigurationNamespace)] | 4 [XmlRoot("include", Namespace = Schema.ContainerConfigurationNamespace)] |
5 public class IncludeElement : ContainerItemElement { | 5 public class IncludeElement : AbstractContainerItem { |
6 [XmlAttribute("href")] | 6 [XmlAttribute("href")] |
7 public string Href { get; set; } | 7 public string Href { get; set; } |
8 | 8 |
9 public override void Visit(ContainerBuilder context) { | 9 public override void Visit(ContainerBuilder context) { |
10 context.Visit(this); | 10 context.Visit(this); |