##// END OF EJS Templates
Implab: added XmlDefaultSeializer (SerializersPool is now obsolete)...
Implab: added XmlDefaultSeializer (SerializersPool is now obsolete) Implab.ServiceHost: rewritten TypeReference (added support for nested types), stable API

File last commit:

r277:963b17c275be v3
r278:6691aff01de1 v3
Show More
SerializedElement.cs
28 lines | 782 B | text/x-csharp | CSharpLexer
cin
Working on Unity xml configuration: Refactoring in progress
r273 using System;
using System.Xml;
using System.Xml.Serialization;
namespace Implab.ServiceHost.Unity
{
cin
Refactoring...
r277 public class SerializedElement : InstanceAbstractRegistration {
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
Refactoring...
r277 public override void Visit(InstanceRegistrationBuilder builder) {
base.Visit(builder);
cin
Working on Unity xml configuration: Refactoring in progress
r273
cin
Refactoring...
r277 var parameter = new SerializedParameterElement {
TypeName = SerializedType,
Location = Location,
Content = Content
};
parameter.Visit(builder.ValueBuilder);
cin
refactoring
r275 }
cin
Working on Unity xml configuration: Refactoring in progress
r273 }
}