Mercurial > pub > ImplabNet
comparison Implab.ServiceHost/Unity/IncludeElement.cs @ 270:ade80d94dfb5 v3
Working on Unity container xml configuration
author | cin |
---|---|
date | Wed, 25 Apr 2018 04:44:40 +0300 |
parents | ff581cff7003 |
children | 79110a16cab7 |
comparison
equal
deleted
inserted
replaced
269:ff581cff7003 | 270:ade80d94dfb5 |
---|---|
5 public class IncludeElement : IConfigurationElement { | 5 public class IncludeElement : IConfigurationElement { |
6 [XmlAttribute("href")] | 6 [XmlAttribute("href")] |
7 public string Href { get; set; } | 7 public string Href { get; set; } |
8 | 8 |
9 public void Visit(ConfigurationContext context) { | 9 public void Visit(ConfigurationContext context) { |
10 context.Include(Href); | 10 context.Visit(this); |
11 } | 11 } |
12 } | 12 } |
13 } | 13 } |