annotate Implab.ServiceHost/Unity/ValueParameterElement.cs @ 273:79110a16cab7 v3

Working on Unity xml configuration: Refactoring in progress
author cin
date Thu, 26 Apr 2018 19:35:01 +0300
parents 9d1cca834b05
children 22629bf26121
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
270
ade80d94dfb5 Working on Unity container xml configuration
cin
parents:
diff changeset
3 namespace Implab.ServiceHost.Unity
ade80d94dfb5 Working on Unity container xml configuration
cin
parents:
diff changeset
4 {
ade80d94dfb5 Working on Unity container xml configuration
cin
parents:
diff changeset
5 public class ValueParameterElement : InjectionParameterElement
ade80d94dfb5 Working on Unity container xml configuration
cin
parents:
diff changeset
6 {
272
9d1cca834b05 preview version of Unity xml configuration
cin
parents: 270
diff changeset
7 [XmlText]
273
79110a16cab7 Working on Unity xml configuration: Refactoring in progress
cin
parents: 272
diff changeset
8 [XmlAttribute("value")]
272
9d1cca834b05 preview version of Unity xml configuration
cin
parents: 270
diff changeset
9 public string Value { get; set; }
9d1cca834b05 preview version of Unity xml configuration
cin
parents: 270
diff changeset
10
9d1cca834b05 preview version of Unity xml configuration
cin
parents: 270
diff changeset
11 internal override object Resolve(RegistrationContext context) {
9d1cca834b05 preview version of Unity xml configuration
cin
parents: 270
diff changeset
12 return context.Resolve(this);
9d1cca834b05 preview version of Unity xml configuration
cin
parents: 270
diff changeset
13 }
270
ade80d94dfb5 Working on Unity container xml configuration
cin
parents:
diff changeset
14 }
ade80d94dfb5 Working on Unity container xml configuration
cin
parents:
diff changeset
15 }