Mercurial > pub > ImplabNet
comparison Implab.ServiceHost/Unity/ValueElement.cs @ 273:79110a16cab7 v3
Working on Unity xml configuration: Refactoring in progress
| author | cin |
|---|---|
| date | Thu, 26 Apr 2018 19:35:01 +0300 |
| parents | |
| children | 22629bf26121 |
comparison
equal
deleted
inserted
replaced
| 272:9d1cca834b05 | 273:79110a16cab7 |
|---|---|
| 1 using System.Xml.Serialization; | |
| 2 | |
| 3 namespace Implab.ServiceHost.Unity { | |
| 4 public class ValueElement : AbstractRegistration, ITextValue { | |
| 5 | |
| 6 [XmlText] | |
| 7 [XmlAttribute("value")] | |
| 8 public string Value { get; set; } | |
| 9 | |
| 10 public override void Visit(ContainerContext context) { | |
| 11 context.Visit(this); | |
| 12 } | |
| 13 } | |
| 14 } |
