Mercurial > pub > ImplabNet
annotate Implab.ServiceHost/Unity/ValueParameterElement.cs @ 274:22629bf26121 v3
Unity xml configuration, alpha2
author | cin |
---|---|
date | Fri, 27 Apr 2018 04:47:52 +0300 |
parents | 79110a16cab7 |
children | 6fefd5811b9b |
rev | line source |
---|---|
272 | 1 using System.Xml.Serialization; |
2 | |
274 | 3 namespace Implab.ServiceHost.Unity { |
4 public class ValueParameterElement : InjectionParameterElement, ITextValue { | |
272 | 5 [XmlText] |
273
79110a16cab7
Working on Unity xml configuration: Refactoring in progress
cin
parents:
272
diff
changeset
|
6 [XmlAttribute("value")] |
272 | 7 public string Value { get; set; } |
8 | |
274 | 9 internal override void Visit(InjectionValueBuilder builder) { |
10 builder.Visit(this); | |
272 | 11 } |
270 | 12 } |
13 } |