Mercurial > pub > ImplabNet
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Implab.ServiceHost/Unity/ValueElement.cs Thu Apr 26 19:35:01 2018 +0300 @@ -0,0 +1,14 @@ +using System.Xml.Serialization; + +namespace Implab.ServiceHost.Unity { + public class ValueElement : AbstractRegistration, ITextValue { + + [XmlText] + [XmlAttribute("value")] + public string Value { get; set; } + + public override void Visit(ContainerContext context) { + context.Visit(this); + } + } +} \ No newline at end of file