##// 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:

r278:6691aff01de1 v3
r278:6691aff01de1 v3
Show More
DependencyParameterElement.cs
16 lines | 540 B | text/x-csharp | CSharpLexer
/ Implab.ServiceHost / Unity / DependencyParameterElement.cs
cin
preview version of Unity xml configuration
r272 using System.Xml.Serialization;
namespace Implab.ServiceHost.Unity {
cin
Refactoring...
r277 public class DependencyParameterElement : InjectionParameterElement {
cin
preview version of Unity xml configuration
r272
[XmlAttribute("name")]
public string DependencyName { get; set; }
[XmlAttribute("optional")]
public bool Optional { get; set; }
cin
Unity xml configuration, alpha2
r274
cin
Implab: added XmlDefaultSeializer (SerializersPool is now obsolete)...
r278 public override void Visit(InjectionParameterBuilder builder) {
cin
Refactoring...
r277 var type = builder.ResolveInjectedValueType(TypeName);
builder.SetDependencyReference(type, DependencyName, Optional);
cin
Unity xml configuration, alpha2
r274 }
cin
Working on Unity container xml configuration
r270 }
}