comparison 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
comparison
equal deleted inserted replaced
272:9d1cca834b05 273:79110a16cab7
3 namespace Implab.ServiceHost.Unity 3 namespace Implab.ServiceHost.Unity
4 { 4 {
5 public class ValueParameterElement : InjectionParameterElement 5 public class ValueParameterElement : InjectionParameterElement
6 { 6 {
7 [XmlText] 7 [XmlText]
8 [XmlAttribute("value")]
8 public string Value { get; set; } 9 public string Value { get; set; }
9 10
10 internal override object Resolve(RegistrationContext context) { 11 internal override object Resolve(RegistrationContext context) {
11 return context.Resolve(this); 12 return context.Resolve(this);
12 } 13 }