##// END OF EJS Templates
Container configuration cleanup, RC2
Container configuration cleanup, RC2

File last commit:

r279:8714471e8d78 v3
r279:8714471e8d78 v3
Show More
SerializedElement.cs
31 lines | 895 B | text/x-csharp | CSharpLexer
cin
Working on Unity xml configuration: Refactoring in progress
r273 using System;
cin
Container configuration cleanup, RC2
r279 using System.Collections.Generic;
cin
Working on Unity xml configuration: Refactoring in progress
r273 using System.Xml;
using System.Xml.Serialization;
cin
Container configuration cleanup, RC2
r279 namespace Implab.ServiceHost.Unity {
public class SerializedElement : AbstractRegistration, IInstanceRegistration {
cin
Working on Unity xml configuration: Refactoring in progress
r273 [XmlAttribute("href")]
public string Location { get; set; }
[XmlAttribute("serializedType")]
public string SerializedType { get; set; }
[XmlAnyElement]
public XmlElement[] Content { get; set; }
cin
Unity xml configuration, alpha2
r274
cin
Container configuration cleanup, RC2
r279 public IEnumerable<IInjectionParameter> MemberInjections {
get {
yield return new SerializedParameterElement {
TypeName = SerializedType,
Location = Location,
Content = Content
};
}
}
cin
Working on Unity xml configuration: Refactoring in progress
r273
cin
Container configuration cleanup, RC2
r279 public override void Visit(ContainerBuilder builder) {
builder.Visit(this);
cin
refactoring
r275 }
cin
Working on Unity xml configuration: Refactoring in progress
r273 }
}