Mercurial > pub > ImplabNet
comparison Implab.ServiceHost/Unity/AssemblyElement.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 |
comparison
equal
deleted
inserted
replaced
272:9d1cca834b05 | 273:79110a16cab7 |
---|---|
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 : IConfigurationElement { | 6 public class AssemblyElement : ContainerItemElement { |
7 [XmlAttribute("name")] | 7 [XmlAttribute("name")] |
8 public string AssemblyName { get; set; } | 8 public string AssemblyName { get; set; } |
9 | 9 |
10 public void Visit(ConfigurationContext context) { | 10 public override void Visit(ContainerContext context) { |
11 context.Visit(this); | 11 context.Visit(this); |
12 } | 12 } |
13 } | 13 } |
14 } | 14 } |