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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
271
d4d437ec4483 Working on Unity xml configuration
cin
parents: 270
diff changeset
1 using System.Xml;
d4d437ec4483 Working on Unity xml configuration
cin
parents: 270
diff changeset
2 using System.Xml.Schema;
d4d437ec4483 Working on Unity xml configuration
cin
parents: 270
diff changeset
3 using System.Xml.Serialization;
d4d437ec4483 Working on Unity xml configuration
cin
parents: 270
diff changeset
4
270
ade80d94dfb5 Working on Unity container xml configuration
cin
parents:
diff changeset
5 namespace Implab.ServiceHost.Unity
ade80d94dfb5 Working on Unity container xml configuration
cin
parents:
diff changeset
6 {
271
d4d437ec4483 Working on Unity xml configuration
cin
parents: 270
diff changeset
7 public class SerializedParameterElement : InjectionParameterElement {
273
79110a16cab7 Working on Unity xml configuration: Refactoring in progress
cin
parents: 272
diff changeset
8 [XmlAttribute("href")]
79110a16cab7 Working on Unity xml configuration: Refactoring in progress
cin
parents: 272
diff changeset
9 public string Location { get; set; }
271
d4d437ec4483 Working on Unity xml configuration
cin
parents: 270
diff changeset
10
d4d437ec4483 Working on Unity xml configuration
cin
parents: 270
diff changeset
11 [XmlAnyElement]
d4d437ec4483 Working on Unity xml configuration
cin
parents: 270
diff changeset
12 public XmlElement[] Content { get; set; }
272
9d1cca834b05 preview version of Unity xml configuration
cin
parents: 271
diff changeset
13
9d1cca834b05 preview version of Unity xml configuration
cin
parents: 271
diff changeset
14 internal override object Resolve(RegistrationContext context) {
9d1cca834b05 preview version of Unity xml configuration
cin
parents: 271
diff changeset
15 return context.Resolve(this);
9d1cca834b05 preview version of Unity xml configuration
cin
parents: 271
diff changeset
16 }
270
ade80d94dfb5 Working on Unity container xml configuration
cin
parents:
diff changeset
17 }
ade80d94dfb5 Working on Unity container xml configuration
cin
parents:
diff changeset
18 }