annotate Implab.ServiceHost/Unity/ValueParameterElement.cs @ 276:b4e0f81c7425 v3

container configuration docs
author cin
date Sat, 28 Apr 2018 00:11:38 +0300
parents 6fefd5811b9b
children 963b17c275be
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
272
9d1cca834b05 preview version of Unity xml configuration
cin
parents: 270
diff changeset
1 using System.Xml.Serialization;
9d1cca834b05 preview version of Unity xml configuration
cin
parents: 270
diff changeset
2
274
22629bf26121 Unity xml configuration, alpha2
cin
parents: 273
diff changeset
3 namespace Implab.ServiceHost.Unity {
22629bf26121 Unity xml configuration, alpha2
cin
parents: 273
diff changeset
4 public class ValueParameterElement : InjectionParameterElement, ITextValue {
272
9d1cca834b05 preview version of Unity xml configuration
cin
parents: 270
diff changeset
5 [XmlText]
273
79110a16cab7 Working on Unity xml configuration: Refactoring in progress
cin
parents: 272
diff changeset
6 [XmlAttribute("value")]
272
9d1cca834b05 preview version of Unity xml configuration
cin
parents: 270
diff changeset
7 public string Value { get; set; }
9d1cca834b05 preview version of Unity xml configuration
cin
parents: 270
diff changeset
8
275
6fefd5811b9b refactoring
cin
parents: 274
diff changeset
9 public override void Visit(InjectionValueBuilder builder) {
274
22629bf26121 Unity xml configuration, alpha2
cin
parents: 273
diff changeset
10 builder.Visit(this);
272
9d1cca834b05 preview version of Unity xml configuration
cin
parents: 270
diff changeset
11 }
270
ade80d94dfb5 Working on Unity container xml configuration
cin
parents:
diff changeset
12 }
ade80d94dfb5 Working on Unity container xml configuration
cin
parents:
diff changeset
13 }