Mercurial > pub > ImplabNet
annotate Implab.ServiceHost/Unity/SerializedParameterElement.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 | 
|---|---|
| 271 | 1 using System.Xml; | 
| 2 using System.Xml.Schema; | |
| 3 using System.Xml.Serialization; | |
| 4 | |
| 270 | 5 namespace Implab.ServiceHost.Unity | 
| 6 { | |
| 271 | 7 public class SerializedParameterElement : InjectionParameterElement { | 
| 273 
79110a16cab7
Working on Unity xml configuration: Refactoring in progress
 cin parents: 
272diff
changeset | 8 [XmlAttribute("href")] | 
| 
79110a16cab7
Working on Unity xml configuration: Refactoring in progress
 cin parents: 
272diff
changeset | 9 public string Location { get; set; } | 
| 271 | 10 | 
| 11 [XmlAnyElement] | |
| 12 public XmlElement[] Content { get; set; } | |
| 272 | 13 | 
| 14 internal override object Resolve(RegistrationContext context) { | |
| 15 return context.Resolve(this); | |
| 16 } | |
| 270 | 17 } | 
| 18 } | 
