Mercurial > pub > ImplabNet
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 |
rev | line source |
---|---|
272 | 1 using System.Xml.Serialization; |
2 | |
270 | 3 namespace Implab.ServiceHost.Unity |
4 { | |
5 public class ValueParameterElement : InjectionParameterElement | |
6 { | |
272 | 7 [XmlText] |
273
79110a16cab7
Working on Unity xml configuration: Refactoring in progress
cin
parents:
272
diff
changeset
|
8 [XmlAttribute("value")] |
272 | 9 public string Value { get; set; } |
10 | |
11 internal override object Resolve(RegistrationContext context) { | |
12 return context.Resolve(this); | |
13 } | |
270 | 14 } |
15 } |